angular-cn/modules/benchpress
Victor Berchet 33b5ba863e feat(tests): add a test injector
fixes #614

Asynchronous test should inject an AsyncTestCompleter:

Before:

  it("async test", (done) => {
    // ...
    done();
  });

After:

  it("async test", inject([AsyncTestCompleter], (async) => {
    // ...
    async.done();
  }));

Note: inject() is currently a function and the first parameter is the
array of DI tokens to inject as the test function parameters. This
construct is linked to Traceur limitations. The planned syntax is:

  it("async test", @Inject (async: AsyncTestCompleter) => {
    // ...
    async.done();
  });
2015-03-13 18:20:02 +01:00
..
src feat(benchpress): add a file reporter 2015-03-06 12:50:05 -08:00
test feat(tests): add a test injector 2015-03-13 18:20:02 +01:00
README.dart.md feat(publish): update files to publish to npm 2015-02-24 16:53:44 -08:00
README.js.md feat(publish): update files to publish to npm 2015-02-24 16:53:44 -08:00
benchpress.dart refactor(benchpress): export webdriver adapters in benchpress/benchpress 2015-03-02 11:31:06 -08:00
benchpress.es6 feat(benchpress): add a file reporter 2015-03-06 12:50:05 -08:00
common.js feat(benchpress): add a file reporter 2015-03-06 12:50:05 -08:00
index.cjs feat(publish): update files to publish to npm 2015-02-24 16:53:44 -08:00
package.json release: release 2.0.0-alpha.11 which includes benchpress 2015-02-24 17:01:48 -08:00
pubspec.yaml chore(packaging): 0.0.0-alpha.9; pubspec cleanup 2015-02-24 11:42:05 -08:00

README.js.md

Benchpress - a framework for e2e performance tests

The sources for this package are in the main Angular2 repo. Please file issues and pull requests against that repo.

This package contains different sources for different users:

  1. The files located in the root folder can be consumed using CommonJS
  2. The files under /es6 are es6 compatible files that can be transpiled to es5 using any transpiler. This contains:
    • dev/: a development version that includes runtime type assertions
    • prod/: a production version that does not include runtime type assertions
  3. The files under /atscript are the AtScript source files

As a convenience, we provide you with /es6/{dev|prod}/es5build.js, a script to transpile the es6 sources into es5 using Google Traceur.

License: Apache MIT 2.0