kylef / Spectre

BDD Framework and test runner for Swift projects and playgrounds
BSD 2-Clause "Simplified" License
404 stars 41 forks source link

Spectres should time how long each test case takes and provide user with total time. #36

Open kylef opened 6 years ago

kylef commented 6 years ago

Similiar to mocha and other testing frameworks which allow you to see how long a test case takes. There should also be options to cause test failure when any test goes over some threshold. Mocha default reporter colours the time yellow/red to show slower tests.

Unfortunately this likely means we have to change the design of the reporters themselves.