Swipe icon indicating copy to clipboard operation
Swipe copied to clipboard

Jasmine Unit Tests added

Open osigge opened this issue 13 years ago • 5 comments

Added Jasmine (http://pivotal.github.com/jasmine/) Added Jasmine-jQuery (https://github.com/velesin/jasmine-jquery)

osigge avatar Dec 02 '12 20:12 osigge

Great work man! Can we use a jasmine html output rather than console so its a bit easier for everyone to understand how to test their code?

Thanks!

B

thebird avatar Dec 04 '12 01:12 thebird

If you have installed the ruby gem you can just run "rake jasmine" (ctrl+c to abort) and point your Browser to the URL the jasmine runner provides you (default is localhost:8888) or you can run "rake jasmine:ci" to get the output in your terminal. I understand that not everyone want to install the ruby gem, so I will add the jasmine standalone version.

osigge avatar Dec 04 '12 16:12 osigge

I changed from jasmine gem to standalone version now

osigge avatar Dec 05 '12 20:12 osigge

So it looks to much easier just using the rake jasmine command. I hate to do this but can we remove the standalone version and I will pull it in. Not a fan of all the extra stuff the standalone required. Thanks man. Can't wait to pull this in.

thebird avatar Dec 14 '12 03:12 thebird

Btw, I removed "Jasmine standalone" ;)

osigge avatar Jan 24 '13 08:01 osigge