lundi 2 mars 2015

How to create a test path for Unit Testing tool Testee

I am currently attempting to use http://ift.tt/1vTvACH to run QUnit tests in BrowserStack.


By creating a simple config (like below), I am able to successfully run a QUnit Test in the browser using this tool on the command line like so "testee --config test/config_name.json test/qunit_test.html". However, I want to be able to provide multiple test html pages in the config (or somewhere so that it can run all the tests without having to list out every html test I would like to include on the command line.


Please note - I was successfully able to get this to work if I used a wildcard for the path the tests live in. The problem with this approach is that browserstack ran each unit test in a separate session (which would create a large queue).



{
"browsers": [{
"os": "windows",
"os_version": "7",
"browser": "chrome",
"browser_version": "40.0",
"name": "Testee - Browserstack"
}],
"launch": {
"type": "browserstack",
"username": "browserstackName",
"password": "browserstackPW",
"key": "browserstackKey"
},
"timeout": 60,
"reporter": "Spec"
}

Aucun commentaire:

Enregistrer un commentaire