Any recommendation on testing an Ember.Mixin?


#1

Im trying to implement testing across the boards for my Ember app. I currently have both Jasmine and QUnit semi running trying to determine the best path for our team. I know ember-testing is on the horizon and hopefully will bring a more standard way of testing. In the meantime…

Im trying to test an Ember.Mixin. Does anyone have any insight on how to test these in isolation?


#2

I do this by requiring the mixin then just create an Ember object and mix the mixin in. Then just test it does what it should as you would a model.

Hope that helps


#3

Ahh… makes perfect sense… Thanks :slight_smile:


#4

no probs, let me know if you need any more help