sfcode
An Online Competing and Development Environment
|
Adapter for the Jasmine testing framework.
If you want to run only some tests matching a given pattern you can do this in the following way
or
If you want to pass configuration options directly to jasmine you can do this in the following way
Failing tests print a debug URL with ?spec=
. Use it with --no_single_run
and paste it into your browser to focus on a single failing test.
By setting config.client.shardIndex
and config.client.totalShards
, you can run a subset of the full set of specs. Complete sharding support needs to be done in the process that calls karma, and would need to support test result integration across shards.
For more information on Karma see the homepage.