mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +00:00
Polish the Scenario Runner UI to include: - a scroll pane that steps appear in since the list can be very long - Collapse successful tests - Show the line where the DSL statements were when there's an error (Chrome, Firefox) Also: - Remove lots angular.bind calls to reduce the amount of stack space used. - Use setTimeout(...,0) to schedule the next future to let the browser breathe and have it repaint the steps. Also prevents overflowing the stack when an it() creates many futures. - Run afterEach() handlers even if the it() block fails. - Make navigateTo() take a function as the second argument so you can compute a URL in the future. - Add wait() DSL statement to allow interactive debugging of tests. - Allow custom jQuery selectors with element(...).query(fn) DSL statement. Known Issues: - All afterEach() handlers run even if a beforeEach() handler fails. Only after handlers for the same level as the failure and above should run. |
||
|---|---|---|
| .. | ||
| scenario | ||
| angular-mocks.js | ||
| AngularSpec.js | ||
| ApiSpecs.js | ||
| BinderTest.js | ||
| BrowserSpecs.js | ||
| CompilerSpec.js | ||
| ConsoleTest.js | ||
| directivesSpec.js | ||
| FiltersSpec.js | ||
| FormattersTest.js | ||
| InjectorSpec.js | ||
| jquery_alias.js | ||
| jquery_remove.js | ||
| JsonSpec.js | ||
| markupSpec.js | ||
| ParserSpec.js | ||
| ResourceSpec.js | ||
| ScenarioSpec.js | ||
| ScopeSpec.js | ||
| servicesSpec.js | ||
| testabilityPatch.js | ||
| ValidatorsTest.js | ||
| widgetsSpec.js | ||