sankho / FlatJS

http://sankho.github.io/FlatJS
Do What The F*ck You Want To Public License
3 stars 1 forks source link

Convert tests from QUnit to Mocha / Teaspoon #28

Open sankho opened 9 years ago

sankho commented 9 years ago

The current tests aren't great and written in QUnit - my bad, hadn't tested something like this before. This is kind of an epic change but should be worth it. Personal preference is to use Mocha w/ Teaspoon, but something else with a BDD flavor would be nice (I've become a big Rspec fan for ruby / rails guys out there).

Most code outside of FlatJS.Component is documented javadoc style. There's annotated source here: http://sankho.github.io/FlatJS/

Would be nice to follow BDD style.

jvmvik commented 9 years ago

Well I have migrate the test to Mocha / chaijs + mocha-phantomjs. You might need to install mocha-phantomjs as standalone. $npm install -g mocha-phantomjs

I moved the tests to test/ to follow mocha naming convention. Also, I have created a script entry for test in the package.json, this enables to run the regression with: $npm test

GarretKadeDupre commented 4 years ago

Is this bounty closed then?