Success message makes no sense when running tests with a test runner. But when it comes to python shell or ipython, the story is different.
Currently, this is how robber.py shows a success message on a shell:
In: expect("a cat").to.contain("cat")
Out: <robber.expect.expect at 0x7f7fe6ed4f60>
It's kinda weird. The very first time I see this, I was like "What on earth is this, does it pass?"
Sure prints True when a test passes and it runs on a shell. This is really helpful and user-friendly.
Success message makes no sense when running tests with a test runner. But when it comes to python shell or ipython, the story is different. Currently, this is how robber.py shows a success message on a shell:
It's kinda weird. The very first time I see this, I was like "What on earth is this, does it pass?" Sure prints
True
when a test passes and it runs on a shell. This is really helpful and user-friendly.