yearofmoo-articles / AngularJS-Testing-Article

A testing repository for AngularJS
263 stars 111 forks source link

Jasmine Testing #4

Open mattjay opened 11 years ago

mattjay commented 11 years ago

If I wanted to do all of this the same but instead of using Mocha just use Jasmine across the board, what would look different? Running into some interesting road blocks while trying to do this with your Midway tester.

matsko commented 11 years ago

Hey @mattjay. I agree. Jasmine testing should work as well. I will refactor it over the weekend.

mattjay commented 11 years ago

Things I've noticed that I need to switch in my setup: .not.to.equal() needs to be .not.toBe() & before() need to do beforeEach()

Got Unit testing working fine. Can't seem to get Midway testing working yet.