This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"auto_complete": true, | |
"auto_complete_triggers": | |
[ | |
{ | |
"characters": "<", | |
"selector": "text.html" | |
}, | |
{ | |
"characters": ".", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var http = require('http'); | |
var app = http.createServer(function(req,res){ | |
res.setHeader('Content-Type', 'application/json'); | |
res.setHeader('Content-Length', JSON.stringify(json).length); | |
res.setHeader('Access-Control-Allow-Origin', '*'); | |
res.setHeader('Access-Control-Allow-Headers', 'Origin, X-Requested-With, Content-Type, Accept'); | |
res.setHeader('Access-Control-Allow-Methods', 'GET'); | |
res.write(JSON.stringify(json)); | |
res.end(); | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[DEBUG - 2015-09-03T19:03:09.332Z] Config - init - Configuration => {"ip":"127.0.0.1","port":"4444","hub":null,"logFile":"phantomjs.log","logLevel":"DEBUG","logColor":false} | |
[INFO - 2015-09-03T19:03:09.346Z] GhostDriver - Main - running on port 4444 | |
[DEBUG - 2015-09-03T19:03:24.250Z] RouterReqHand - _handle - Request => { | |
"headers": { | |
"Accept": "application/json", | |
"Content-Length": "124", | |
"Content-Type": "application/json;charset=UTF-8", | |
"Host": "127.0.0.1:4444" | |
}, | |
"httpVersion": "1.1", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"caret_extra_width": 2, | |
"caret_style": "phase", | |
"close_windows_when_empty": true, | |
"color_scheme": "Packages/User/Color Highlighter/themes/base16-ocean.dark (SL).tmTheme", | |
"copy_with_empty_selection": false, | |
"default_line_ending": "unix", | |
"drag_text": false, | |
"draw_minimap_border": true, | |
"enable_tab_scrolling": false, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
el link que muestras no son funcional tests, son "Integration Tests", creo que aun no estamos en el mismo canal en eso. | |
Recuerda, existen tres tipos de pruebas, "Unit Test", "Integration Test" y "Functional Test" | |
En los unit tests, testeas una simple unidad y TODAS las dependencias son mocks, stubs, etc. PHPUNIT planito | |
En el integration tests, testeas una clase con todas sus dependencias inyectadas de forma normal. Solamente se hacen mocks the third party APIs o dependencias FUERA de nuestra app. Codeception o el mismo PHPUNIT sirven para esto, entre otros. | |
En el functional test, testeas, valga la redundancia, en nivel funcional, usualmente usas frameworks basados en PhantomJS / Selenium o cualquier plataforma que consuma tu aplicacion a nivel funcional como si fuera un usuario. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
___________________________________________________ | |
( _______________________________________________ ) | |
( / \ ) | |
( | _/_ / _/_ / | ) | |
( | / /_ o _ o _ _ / . . _ o __/ | ) | |
( | <__/ /_<_/_)_ <_/_)_ /_)_<__(_/_/_)_<_(_/_ | ) | |
( | / | ) | |
( \ ' / ) | |
( ----------------------------------------------- ) | |
( \ ^__^ ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
env: | |
travis: | |
modules: | |
config: | |
Db: | |
dsn: 'mysql:host=localhost;dbname=monitores_test' | |
user: 'root' | |
password: null | |
dump: 'tests/_data/dump.sql' | |
populate: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"gulp-rev": "Jimdo/gulp-rev#refactor_existing_manifest", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://daveyarwood.github.io/2014/07/30/20-cool-clojure-functions/ | |
http://martinfowler.com/articles/microservices.html | |
https://blog.yourkarma.com/why-programming-is-hard | |
http://daverupert.com/2013/04/responsive-deliverables/?utm_content=bufferafe71&utm_medium=social&utm_source=twitter.com&utm_campaign=buffer | |
http://www.jackcallister.com/2015/01/05/the-react-quick-start-guide.html?utm_source=javascriptweekly&utm_medium=email |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"color_scheme": "Packages/Base16/base16-flat.dark.tmTheme", | |
"default_line_ending": "unix", | |
"font_size": 14, | |
"highlight_line": true, | |
"ignored_packages": | |
[ | |
"Vintage" | |
], | |
"tabs_small": true, |