alsatian

v1.3.1
TypeScript and JavaScript testing framework for beautiful and readable tests
test framework test framework TypeScript JavaScript babel alsatian decorators annotations and 14 more...

build

tsc

build-publish

tsc --newLine "LF"

clean

npm run clean-git && npm run clean-compiled

clean-compiled

rimraf **/*.js **/*.js.map **/*.d.ts

clean-git

git clean -X -d -f

prepublish

in-publish && npm run clean && npm install && npm test && npm run build-publish || not-in-publish

postpublish

node ./scripts/tag-release

review

npm run review-code & npm run review-tests

review-code

tslint "./**/*.ts" --exclude "./**/*.d.ts" --exclude "./test/**/*.ts" --exclude "./node_modules/**/*.ts"

review-tests

tslint --config "./tslint.test.json" "./test/**/*.ts" --exclude "./**/*.d.ts"

fix-linting-issues

tslint --fix "./**/*.ts" --exclude "./**/*.d.ts" --exclude "./node_modules/**/*.ts"

pretest

npm run build

test

npm run review && npm run check-coverage && npm run integration-tests

unit-tests

node ./cli/alsatian-cli.js "./test/unit-tests/**/*.spec.js"

check-coverage

npm run build & nyc --reporter=lcov --reporter=html npm run unit-tests && npm run output-test-coverage

output-test-coverage

nyc report

install-self

npm link && install-self

integration-tests

npm run install-self && npm run cli-integration-tests && npm run node-integration-tests && npm run gulp-integration-tests&& npm run babel-integration-tests && npm run expect-extension-integration-tests

expect-extension-integration-tests

alsatian "./test/integration-tests/extending-expect/**/*.spec.js"

cli-integration-tests

alsatian "./test/integration-tests/cli/runner"

node-integration-tests

tsc -p "./test/integration-tests" && node "./test/integration-tests/node/runner"

gulp-integration-tests

alsatian "./test/integration-tests/gulp/runner"

debug-unit-tests

node-debug ./cli/alsatian-cli.js "./test/unit-tests/**/*.spec.js"

build-es6-tests

babel test/integration-tests/javascript/test-sets -d test/integration-tests/javascript/test-sets

babel-integration-tests

npm run build-es6-tests && alsatian "./test/integration-tests/javascript/babel/babel-compatibility.spec"

typescript-integration-tests

alsatian "./test/integration-tests/typescript/compile.spec"

selenium-integration-tests

alsatian "./test/integration-tests/selenium/**/*.spec.js"

Metadata

  • MIT
  • Whatever
  • James Richford
  • released 4/9/2017

Downloads

Maintainers