Testing Your App


Premium Content - Free Preview

Running Tests

After completing a feature in the tutorial, you can run tests to check that your code is correct. To run tests, enter the following command in the terminal:

 rake test

This is configured to run all the tests until the first error or failure. Look at the tests to see if you've passed everything you're supposed to. If you did, you can go in the tutorial and keep passing the tests! Otherwise, review the tutorial or look at the failed test and try to determine your error. If you're stuck, add a comment to the bottom of the relevant tutorial page.

Tracking progress on Learneroo

You can report the status of your tests to Learneroo to track your progress:


End of Free Content Preview. Please Sign in or Sign up to buy premium content.

Contact Us
Sign in or email us at [email protected]