Closed Raynos closed 8 years ago
I do run the tests before I commit. :-)
The tests for Maria are written with the Buster testing framework. Do you know how to set-up a project using Buster for the Testling CI tool? @cjohansen?
If you can configure busterjs to output TAP in the browser and then console.log
those TAP statements then testling will pick up the test results, parse them and display a badge
You will need to somehow create a single javascript or html file with all the tests in it.
Testling has an example project demonstrating how to use it with a custom html page ( https://github.com/substack/testling-html-example )
I like the idea. A short look does not show Buster produces TAP output without some jiggering around. It will take some more investigation.
Buster mentions tap in their README but doesnt appear to actually support it :/.
There is a thing called buster-move that has the buster API but uses the tap module. We can probably patch that to make a buster test suite output TAP. Opened an issue on it ( https://github.com/rvagg/node-bustermove/issues/1 )
Buster supports TAP, but unfortunately on the command-line. Being able to console.log TAP in the browser shouldn't be too hard. File a buster issue?
A few days ago, I ran all the tests manually in many browsers. I cannot do that frequently. This automated testing will be a big help.
https://ci.testling.com/
Testling is like a CI in the cloud for frontend javascript libraries!
I use it for my libraries ( https://github.com/Raynos/immutable-hash ) and it's a solid indicator of browser support at a glance!