Skip to navigation

Colour-in your tests

Published December 22, 2006

[via Anthony Eden]

Make your test output sexy with MonkeyTest. Do it.

MonkeyTest screenshot

Archived comments

Comments were previously allowed on articles. Though no new comments are being accepted you can see the old comments below.

  1. Jacob Atzen

    I like turn which gives me a pass/fail on each and every test method instead of only on the class. Couple it with facets for nice coloring.

  2. Tim Lucas

    Interesting… will check out turn, though seeing each passing test isnt particularly useful.

    Monkeytest shows individual failures too:

    
    +------------------------------------------+-------+------------+--------+
    | Test Class                               | Tests | Assertions | Status |
    +------------------------------------------+-------+------------+--------+
    | MessageTest                              |    10 |         22 |   FAIL |
    | ResultsControllerTest                    |     1 |          1 |   PASS |
    | MessagesControllerTest                   |     2 |          2 |   PASS |
    | ContestantTest                           |     1 |          1 |   PASS |
    | VoteTest                                 |     1 |          1 |   PASS |
    +------------------------------------------+-------+------------+--------+
    | Total                                    |    15 |         27 |        |
    +------------------------------------------+-------+------------+--------+
    Finished in 0.287826 seconds

    Errors & Failures:
    MessageTest::test_dummy_assertion (message_test.rb:55) FAIL
    is not true.

  3. PJ Kelly

    Have you ever had any problems with MonkeyTest? I’ve got a unit test that passes when I run it via the normal Rake task, but fails when run by MonkeyTest. Any ideas?

Thoughts

toolmantim

I’m Tim Lucas, a user experience developer currently in Sydney Australia.

I occasionally write, snap photos, present on various technical topics, tweet my going-ons, share teh codes and post tidbits to the scrapbook.

Most recently I published Simplifying ticket sales on sydneyoperahouse.com (February 16, 2010)

Work with me via Agency Rainford, or shoot an email to and say hello.

Powered by vegemite