README.md in qunited-0.4.4 vs README.md in qunited-0.5.0

- old
+ new

@@ -16,16 +16,19 @@ If you are using Bundler you can add QUnited to your Gemfile. With Rails add QUnited to the test and development groups. ```ruby # In Gemfile + +gem 'coffee-script' # Optional, only needed if using CoffeeScript gem 'qunited' ``` ```ruby # With Rails group :test, :development do + gem 'coffee-script' # Optional gem 'qunited' end ``` @@ -55,9 +58,13 @@ t.helper_files = ['test/helpers/sinon-1.6.0.js'] t.test_files = 'test/js/**/*.js' end ``` These will be loaded after source files and before running tests. Separating helpers this way is merely for convenience and has the same effect as just including them last with your source files. + +### CoffeeScript + +CoffeeScript is also supported. If any included source or test files have the `.coffee` extension they will automatically be compiled and tests will be run with the resulting JavaScript. Compilation is done with the [coffee-script](https://github.com/josh/ruby-coffee-script) gem. ### Specifying a driver QUnited uses various drivers to set up the environment the tests run in (see below for more details). By default it tries to Just Work and find an available driver to use. You may want to lock down the driver (recommended) so your tests are consistent. To do this add a bit more configuration to the Rake task.