jubianchi / atoum.js

The modern, simple and intuitive PHP 5.3+ unit testing framework, now for JS
http://jubianchi.fr/atoum.js
16 stars 3 forks source link

Add assert() method #7

Closed Nicolab closed 11 years ago

Nicolab commented 11 years ago
this
  .assert('Test instance')
    // ...

And output in the doc coverage (covershot).

If it is not too hard to add ?

jubianchi commented 11 years ago

Showing test cases description in coverage report (covershot) will not be possible but implementing this feature in the standard cli report would not be too hard.

The description passed to assert would be displayed in the report when there are failures.

Nicolab commented 11 years ago

Yes is good, it is mainly for the semantic side and separation in the test class.

Nicolab commented 11 years ago

:+1: