No description
Find a file
Elliott Sprehn 40d7e66f40 Lots of bug fixes in the scenario runner and a bunch of new features.
- By default the runner now creates multiple output formats as it runs. Nodes are created in the DOM with ids: json, xml, and html.

ex. $('#json').html() => json output of the runner
ex. $('#xml').html() => json output of the runner

$result is also an object tree result.

The permitted formats are html,json,xml,object.

If you don't want certain formats you can select specific ones with the new ng:scenario-output attribute on the script tag.

<script src="angular-scenario.js" ng:scenario-output="xml,json">

- Added element(...).count() that returns the number of matching elements for the selector.

- repeater(...).count() now returns 0 if no elements matched which can be used to check if a repeater is empty.

- Added toBe() matcher that does strict equality with ===

- Implement iit and ddescribe. If iit() is used instead of it() then only that test will run. If ddescribe() is used instead of describe() them only it() statements inside of it will run. Several iit/ddescribe() blocks can be used to run isolated tests.

- Implement new event based model for SpecRunner. You can now listen for events in the runner. This is useful for writing your own UI or connecting a remote process (ex. WebDriver). Event callbacks execute on the Runner instance.

Events, if fired, will always be in the below order. All events always happen
except for Failure and Error events which only happen in error conditions.

Events:
  RunnerBegin
  SpecBegin(spec)
  StepBegin(spec, step)
  StepError(spec, step, error)
  StepFailure(spec, step, error)
  StepEnd(spec, step)
  SpecError(spec, step, error)
  SpecEnd(spec)
  RunnerEnd

- Only allow the browser to repaint every 10 steps. Cuts 700ms off Firefox in benchmark, 200ms off Chrome.

- Bug Fix: Manually navigate anchors on click since trigger wont work in Firefox.
2010-10-26 15:17:57 -07:00
.externalToolBuilders fixed lint warnings and one flaky test 2010-10-15 13:44:53 -07:00
.idea twitter using resources 2010-03-16 14:38:56 -07:00
.settings clean up, fixes for app 2010-04-07 10:17:15 -07:00
css Lots of bug fixes in the scenario runner and a bunch of new features. 2010-10-26 15:17:57 -07:00
example improving the PersonalLog app 2010-10-23 16:25:53 -07:00
images inline all images into css 2010-10-18 16:24:43 -07:00
lib create HTML sanitizer to allow inclusion of untrusted HTML in safe manner. 2010-10-26 13:41:07 -07:00
regression Fix for getting into recursive $eval on scope. Close #59 2010-10-23 13:42:11 -07:00
scenario Lots of bug fixes in the scenario runner and a bunch of new features. 2010-10-26 15:17:57 -07:00
src Lots of bug fixes in the scenario runner and a bunch of new features. 2010-10-26 15:17:57 -07:00
test Lots of bug fixes in the scenario runner and a bunch of new features. 2010-10-26 15:17:57 -07:00
.gitignore Workaround for http://bugs.jquery.com/ticket/7292 2010-10-22 22:46:51 -07:00
.project created a way to init the code without autobootstrap 2010-01-08 16:04:35 -08:00
angularjs.ftp add ftp script to auto deploy to angularjs.org 2010-08-14 11:03:36 -07:00
CHANGELOG.md create HTML sanitizer to allow inclusion of untrusted HTML in safe manner. 2010-10-26 13:41:07 -07:00
java ng:repeat ignores prototype keys 2010-07-09 14:45:29 -07:00
jsTestDriver-jquery.conf Lots of bug fixes in the scenario runner and a bunch of new features. 2010-10-26 15:17:57 -07:00
jsTestDriver.conf Lots of bug fixes in the scenario runner and a bunch of new features. 2010-10-26 15:17:57 -07:00
LICENSE MIT license 2010-01-05 16:57:36 -08:00
nodeserver.sh Fix issue where directories don't have a slash on the end and allow specifying a different port 2010-10-23 14:22:54 -07:00
Rakefile Lots of bug fixes in the scenario runner and a bunch of new features. 2010-10-26 15:17:57 -07:00
README.md readme 2010-03-15 14:41:28 -07:00
server.sh Workaround for http://bugs.jquery.com/ticket/7292 2010-10-22 22:46:51 -07:00
test.sh fixed tests 2010-10-19 16:14:16 -07:00
version.yaml preparing 0.9.1 repulsion-field iteration 2010-10-20 15:52:55 -07:00

Angular

Compiling

rake compile

Running Tests

rake server:start
rake test