How to run QUnit tests from command line?

后端 未结 4 1273
悲哀的现实
悲哀的现实 2021-02-14 05:22

I recently started working on a Rails app that has a large amount of QUnit tests already in place for testing ember. I have been charged with the task of setting the app with a

4条回答
  •  耶瑟儿~
    2021-02-14 05:51

    You can use Grunt (task runner) for this. You would also need to install these two packages: grunt-contrib-qunit and grunt-contrib-connect

    I did just recently set up a GitHub repository when trying to figure out how to run QUnit on Travis CI: https://github.com/stebru/travis-qunit-test

    You're welcome to fork it and try it out for yourself.

提交回复
热议问题