Kasey McCurdy
Kasey McCurdy

Reputation: 59

does anyone have any recommendations on how to use qUnit with continuous integration, such as cruise control?

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

Answers (2)

Cameron
Cameron

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

Trystan Spangler
Trystan Spangler

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

Related Questions