Skip to content
Antony Male edited this page May 23, 2014 · 3 revisions

Stylet uses Rake (while is Ruby's take on Make) to automate certain operations, including building the project, running tests, and generating code coverage.

To get this up and running, you'll need to follow a few steps.

  1. Install Ruby. Ruby is a scripting language similar to Python.
  2. Open up a console (hit Start, type 'cmd', hit Enter). Install the 'albacore' gem by running gem install albacore --pre.

Now, navigate to the Stylet directory (the one containing the Rakefile), and run rake -T to see a list of available tasks. E.g. to run unit tests on the console, run rake test, or to generate code coverage for both unit and integration tests, run rake cover:all.

By default, all operations are done with the Debug configuration, e.g. if you run rake test, it's the Debug configuration which is tested. If you wish to run the operation on a Release build, prefix the command with CONFIG=Release, e.g. CONFIG=Release rake test.

Clone this wiki locally