aboutsummaryrefslogtreecommitdiffstats
path: root/jsTestDriver-coverage.conf
AgeCommit message (Collapse)Author
2011-09-13refactor(angular): externalize script load order into JSONDi Peng
- move all script load order into angularFiles.js - rakefile and angular-bootstrap.js use angularFiles.js to get script orders - gen_jstd_configs.js uses angularFiles.js to generate various jstd config files - run gen_jstd_configs.js whenever we run server.sh Closes #470
2011-09-08feat($sniffer): basic implementation of browser feature testingVojta Jina
This only extracts our 'hashchange' event and html5 history api detection from $browser. Closes #400
2011-08-14feat($locale): add default locale service for en-USDi Peng
2011-08-12refactor(scope): remove $flush/$observe ng:eval/ng:eval-orderMisko Hevery
2011-07-14chore(configs): Add missing files to jstd configVojta Jina
Add jstd-scenario-adapter files into jstd configs (jquery, coverage). Remove angular.prefix, sufifix from exclude, as they don't have to be there. They are not included, because of *.js mask.
2011-07-01fix:jstd.conf: explicitly specify script load orderIgor Minar
Originally we relied on a lot of globbing, which resulted in angular-mocks being loaded before normal services, so we never overwrote services like $exceptionHandler with mocks. Explict definition guarantees that we don't fall into the loading order trap, but requires us to remember to update the jsTestDriver.conf file every time we add/rename/remove a js file.
2011-06-08Created a performance test harness and reporterMisko Hevery
2011-02-15split up services into individual filesIgor Minar
- split up services into files under src/service - split up specs into files under test/service - rewrite all specs so that they don't depend on one global forEach - get rid of obsolete code and tests in ng:switch - rename mock $log spec from "$log" to "$log mock"
2011-01-26split mocks and create $log and $exceptionHandler mocksIgor Minar
- split mocks between angular-mocks.js and mocks.js - src/angular-mocks.js now contains only mocks that we want to ship - test/mocks.js contains mocks that we use internally for testing angular - created angular.mock namespace - created public $exceptionHandler mock rethrows errors - created public $log mock stores all logs messages in an array that can be accessed to make assertions - internally we now have factory to create $exceptionHandler that we can assert on - internally we also keep track of all messages logged and fail tests if messages were not expected and cleaned up (checked via global beforeEach and afterEach) - updated RakeFile and docs reader.js to point to the new angular-mocks.js location - made real $exceptionHandler and $log factories accessible from tests and simplified their specs - fixed typos in several spec descriptions - added log assertions throughout the test suite
2010-11-12Add test coverage analysis.Igor Minar
- jstd upgrade to head from 2010-11-11 - coverage plugin from the same head as jstd - test-coverage.sh and server-coverage.sh scripts - jstd configuration Generate html by installing lconv (brew or port) and run: genhtml tmp/lcov/jsTestDriver.conf-coverage.dat to generate html docs.