Changes between Version 1 and Version 2 of Ticket #6887


Ignore:
Timestamp:
08/27/2018 03:04:11 PM (14 months ago)
Author:
tlucas
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6887 – Description

    v1 v2  
    77 * Change the "test" script in `package.json` to build a devenv for the target browser(s). 
    88 * Let `npm test` (with no arguments) run the qunit tests on both Firefox(headless) and Chrome. 
    9  * Let `npm test`'s target Browser be switchable with arguments analog to the targets in our `buildtools`, i.e.: 
     9 * Let `npm test`'s target Browser be switchable with arguments analog to the targets in our `buildtools`, analog to [[https://mochajs.org/#usage|mocha's usage]] i.e.: 
    1010 
    1111{{{ 
    1212 $ npm test #Run tests in all supported browsers 
    13  $ npm test -- gecko #Run tests in Firefox only 
    14  $ npm test -- chrome #Run tests in Chrome only 
    15  $ npm test -- gecko chrome #Run sets in both Firefox and Chrome only 
     13 $ npm test -- -g gecko #Run tests in Firefox only 
     14 $ npm test -- -g chrome #Run tests in Chrome only 
     15 $ npm test -- -g "[gecko|chrome]" #Run tests in both Firefox and Chrome only 
    1616}}}