Reputation: 59
we're looking to do some unit testing with qUnit. we use Cruise Control for continuous integration. just curious if anyone has integrated qUnit in an automated fashion, and if so, what you did to get it all working...
Upvotes: 0
Views: 352
Reputation: 179
I set up a Jenkins CI to do this a while back, the way we did it was to write an NUnit test to run WatiN (selenium would work as well of course), that would then run the QUnit tests, with selectors to check for any errors and fail an assert for every test that failed. It's very important that you make sure you are testing in the correct browser due to differences in the javascript engines. For example, WatiN wouldn't work if you target platforms include Chrome because it can't control Chrome (last I checked).
Upvotes: 1
Reputation: 1769
Have you seen the open source NQUnit? I haven't tried it yet but I plan on using it in an upcoming project.
Upvotes: -1