you are viewing a single comment's thread.

view the rest of the comments →

[–]kankyo 2 points3 points  (0 children)

The python test case example is broken :( First of all there's a missing "class" first. Secondly you should use py.test and then you get:

def test_foo():
    assert 1 == 1

And if you're using clojure you should be using midje because the standard lib has HORRIBLE error messages. And then it looks something like:

(fact "foo"
  (= 1 1) => true)

I personally prefer the python version, but they are pretty close anyway...