plone / jenkins.plone.org

https://jenkins.plone.org settings docs at
http://jenkinsploneorg.readthedocs.org/en/latest/
9 stars 1 forks source link

Javascript unit testing #108

Closed gforcada closed 9 years ago

gforcada commented 9 years ago

Given that with Robot Framework only small parts of our growing JavaScript code is tested and that mockup already has a testing framework on it, wouldn't be needed to set up a jenkins job for running those as well?

@vangheem @frapell @thet if I got it correctly from mockup's README, Jenkins only needs to:

git clone mockup
make bootstrap
make test

Am I missing something? And even more important, do we have more JavaScript unittests somewhere not covered by mockup's make test? How far is the integration with Patternslib? Do we want to also run its tests as well?

frapell commented 9 years ago

@gforcada I think you might want to use make test-once instead of make test since the latter will keep waiting on modified files to run again automatically.

I don't know the answer to your other questions

gforcada commented 9 years ago

@frapell yes I noticed that after waiting 5 minutes or so to the jenkins job to finish :)

gforcada commented 9 years ago

The only thing missing is making a new mockup-core release (for the test_jenkins karma configuration) and adding it on jenkins.plone.org core tab.

Afterwards we can keep adding browsers (right now only PhantomJS).