summaryrefslogtreecommitdiff
path: root/worker/tests/README
blob: 5d8b6d3ace0ce3a751fe29e47c84548ff444ebcc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
  This directory contains the protocol-tests.

  For the protocol "xxx" we must have:

        - The file called xxx.rb

        - The definition of class "XXXTest" - note upper-case

  The class must implement the methods:

    run_test()

    error()

  'run_test' will be called to run the test, returning true if passed, and false
 otherwise.  In the event of a test failure 'error' will return  something useful.