angular-cn/modules/benchpress/test
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
..
metric feat(tests): add a test injector 2015-03-13 18:20:02 +01:00
reporter feat(tests): add a test injector 2015-03-13 18:20:02 +01:00
validator refactor(benchpress): export webdriver adapters in benchpress/benchpress 2015-03-02 11:31:06 -08:00
webdriver feat(tests): add a test injector 2015-03-13 18:20:02 +01:00
runner_spec.js feat(tests): add a test injector 2015-03-13 18:20:02 +01:00
sampler_spec.js feat(tests): add a test injector 2015-03-13 18:20:02 +01:00
statistic_spec.js feat(benchpress): rewritten implementation 2015-02-16 11:43:27 -08:00
trace_event_factory.js feat(bench press): use chrome tracing protocol and initial iOS support 2015-02-20 13:20:17 -08:00
web_driver_extension_spec.js feat(tests): add a test injector 2015-03-13 18:20:02 +01:00