From 48723276e838291bb4082e809c86249921c98509 Mon Sep 17 00:00:00 2001 From: JohnAlbin Date: Sat, 10 Mar 2012 18:34:01 +0800 Subject: [PATCH] Update docs for running tests. fixes #731 --- .../help/tutorials/contributing.markdown | 21 +++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/doc-src/content/help/tutorials/contributing.markdown b/doc-src/content/help/tutorials/contributing.markdown index 5894bea5..1ca15cc1 100644 --- a/doc-src/content/help/tutorials/contributing.markdown +++ b/doc-src/content/help/tutorials/contributing.markdown @@ -278,15 +278,28 @@ Getting recent changes from the main repo:

Running Tests

-1. Install development dependencies: +1. You must have Ruby installed on your system. After [setting up git](#setting-up-git), + change to the root directory of your git checkout of Compass. + + cd compass + +2. Install the bundler Ruby gem. + + gem install bundler + + If installing to your system gems, you'll probably need to add `sudo` to the + front of that command. If you don't know what that means, you probably need + to add `sudo` to the front. + +3. Install development dependencies: bundle install --binstubs devbin -2. Running core library and stylesheet tests: +4. Running core library and stylesheet tests: - rake run_tests + bundle exec rake test features -3. Running behavior tests +5. Running behavior tests ./devbin/cucumber