mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-17 07:40:22 +00:00
No description
- 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 |
||
|---|---|---|
| .externalToolBuilders | ||
| .idea | ||
| .settings | ||
| css | ||
| docs | ||
| example | ||
| images | ||
| lib | ||
| logs | ||
| perf | ||
| regression | ||
| scenario | ||
| src | ||
| test | ||
| tmp | ||
| .gitignore | ||
| .project | ||
| angularjs.ftp | ||
| CHANGELOG.md | ||
| gen_docs.sh | ||
| java | ||
| jsTestDriver-coverage.conf | ||
| jsTestDriver-jquery.conf | ||
| jsTestDriver-perf.conf | ||
| jsTestDriver.conf | ||
| LICENSE | ||
| nodeserver.sh | ||
| Rakefile | ||
| README.md | ||
| server-coverage.sh | ||
| server.sh | ||
| test-coverage.sh | ||
| test-perf.sh | ||
| test.sh | ||
| version.yaml | ||
| watchr-docs.rb | ||
| watchr.rb | ||
Angular
Compiling
rake compile
Running Tests
rake server:start
rake test