testem.yml
Alexander Pape edited this page Dec 14, 2016
·
6 revisions
test framework to load into context and absorb output from
-
jasmine
: default. loadsjasmine
andjasmine-html
, (which comes withexpect
) -
mocha
- loadsmocha
for browser. -
mochachai
- loadsmocha
for browser, andchai
with it -
qunit
- loadsqunit
for browser. -
buster
- loads mocha for browser. -
jasmine2
- loadsjasmine2
,jasmine2-html
andjasmine2-boot
. -
custom
- does not load any framework for you, excepttestem
. everything you use on top of it should be part ofsrc_files
.
To explore more - you can check the templates in the ./views directory, and see exactly what each of them loads
source files to load into context. it should specify ALL sources, including System-Under-Test, and Test-Harness.
example:
src_files:
- node_modules/should/should.js
- ./lib/**.js
- ./test/*.js
a single shell command to run before tests start
a single shell command to run after all tests have run
launch_in_dev:
- Chrome
- Opera
- Safari
launch_in_ci:
- All
for more detail - look in the md doc here and in the examples directory here