ptomato / jasmine-gjs

Jasmine for GJS
MIT License
20 stars 8 forks source link

Time individual tests and suites #2

Closed ptomato closed 9 years ago

ptomato commented 9 years ago

Mocha reports the running time of individual specs that take overly long, next to the spec name. This is useful because you can see at a glance what the slow tests are, and is a nice reminder to keep your tests short.

The JUnit format also allows time attributes on <testsuite> and <testcase> elements to indicate the running time of the suite or spec, respectively, in seconds.

Clearly, for feature parity with other test runners, we need this.

ptomato commented 9 years ago

Done.