The is a TAP testrunner for Qooxdoo.
http://www.qooxdoo.org/qxl.testtapper/
$ npx qx package update
$ npx qx package install qooxdoo/qxl.testtapper
Now replace the "qx.test.*"
entry in application.includes
section of your compile.json
file to point to the
test classes in your own application.
Also set value for the environment variable qxl.testtapper.testNameSpace
in your compile.json
.
$ npx qx serve
Then browse to http://localhost:8080. You will see that you now have a new application listed, the "Qooxdoo testTAPper", that you can click on the link to run. The output of the application may be a bit underwhelming ... have a look at the debug console to see the action.
If you want to run the tests from the command line you need a headless browser to run the tests. TestTAPper uses the puppeteer node module which comes with a built in copy of headless chrome and is thus very simple to use
$ npx qx test
Clone this repo and compile it:
$ git clone https://github.com/qooxdoo/qxl.testtapper
$ cd qxl.testtapper
$ qx serve
Then open http://localhost:8080