Skip to content Skip to sidebar Skip to footer
Showing posts with the label Qunit

While Unit Testing I Frequently Require To Test Internal (private) Logic, What Is The Best Practice For This?

I believe everyone encounters a case when there's necessity to test internal wiring of the clas… Read more While Unit Testing I Frequently Require To Test Internal (private) Logic, What Is The Best Practice For This?

How To Test An Ember Model's Computed Property That Has Relations Dependencies?

I'm writing Qunit tests to test An Ember model, but having a hard time testing computed propert… Read more How To Test An Ember Model's Computed Property That Has Relations Dependencies?

Qunitjs-tests Don't Start: Phantomjs Timed Out, Possibly Due To A Missing Qunit Start() Call

I have set up my test environment as described here with QunitJS + PhantomJS + GruntJS: http://jord… Read more Qunitjs-tests Don't Start: Phantomjs Timed Out, Possibly Due To A Missing Qunit Start() Call

Testing For A Function That Contains Asynchronous Code

With qUnit, I understand how to use asyncTest() if you have asynchronous code within your tests, bu… Read more Testing For A Function That Contains Asynchronous Code

How To Test An Ember Model's Computed Property That Has Relations Dependencies?

I'm writing Qunit tests to test An Ember model, but having a hard time testing computed propert… Read more How To Test An Ember Model's Computed Property That Has Relations Dependencies?