

It compiles CoffeeScript, both for your tests and for your application logic.
#SITE SIMILAR TO JAMMIT CODE#
It integrates with Sprockets to handle code requires & preprocessing and JavaScript templates.It integrates with Guard for a continuous testing setup when using guard-jasmine-headless-webkit.Jasmine-headless-webkit also streamlines your workflow in other ways: They'll even work when running in the Jasmine gem's server with no changes to your code. You would normally use, like jQuery and Backbone.js, work without any modifications. It's nearlyĪs fast as running in a JavaScript engine like Node.js, and, since it's a real browser environment, all the modules Jasmine-headless-webkit uses the QtWebKit widget to run your specs without needing to render a pixel. Using one of the most popular browser cores, and that dovetails perfectly into the Jasmine gem's already established protocols. Evergreen makes Jasmine testing in a Rails app as easy as pie, but not everyone writes for Rails.īut there's a solution for fast, accurate browser-based testing.I'm a big believer of running code destined for a browser in a browser itself, not a simulator. Node.js, EnvJS, and Rhino solutions for running Jasmine are great for anything that will never run in a real browser.Jasmine CI uses Selenium, which speeds up the process a bit, but you're still rendering pixels in a browser, albeit with the option of rendering those pixels in a lot of different browsers at once.The Jasmine gem's server makes getting up and testing very fast, but F5-ing your browser for each test run is distracting.In a browser environment can be problematic and slow: But running Jasmine when you need to test code that will run Jasmine Headless WebKit Run your Jasmine specs at sonic boom speed!
