How to run Jasmine tests on Node.js from command line

前端 未结 4 1667
梦毁少年i
梦毁少年i 2020-12-14 05:40

How do I run Jasmine tests on Node.js from command line? I have installed jasmine-node via npm and written some tests. I want to run tests inside the spec direc

4条回答
  •  无人及你
    2020-12-14 06:05

    Try Karma (formerly Testacular), it is a testing library agnostic test runner done by Angular.js team

    http://karma-runner.github.io/0.12/index.html

    Jasmine support is well baked.

    http://karma-runner.github.io/0.12/intro/how-it-works.html

提交回复
热议问题