Testacular is really nice test runner and I like it very much. Running my unit test I noticed that the test is run is the test that the cursor is on but, that is not the case with E2E tests. Running all e2e test to verify a single test is really tedious and time waste. Does anybody know how to run a single e2e test. Is there some configs that I miss that can make me run a single e2e test ?
Thank you in advance !
To isolate a test you can use a simple trick - add "d" to describe, or i to "it".
For example:
describe("Should not run", function(){
...
});
ddescribe("Should run...", function(){
...
});
The same goes for:
describe("Will run", function(){
it("should not run...", function(){
});
iit("should run...", function(){
});
});
If you have multiple "ddescribe" or "iit" they will all run and the other regular "describe" or "it" won't.
Hope it helps...
There is a good explanation on using Testacular at the tutorial. The test sample is specifically at Chapter 2.
Also, take a look at the AngularJS docs.