tanob/GrooBe

shouldNotContain improvement

Closed this issue · 1 comments

page.shouldNotContain "corbaError" ...

.. is going to print some tens of thousands of bytes of HTML to the console.

I think for shouldNotContain, no "was contained in this" output is required.

You can specify a failure message in the 2nd parameter, that will give a brief information to the developer about the issue and with the rest of assertion output he can diagnose what happened.