Skip to content
Antony Male edited this page Oct 24, 2015 · 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 Install Ruby. Ruby is a scripting language similar to Python.

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