Consider you have a simple fit test as follows: !|Division| |numerator|denominator|quotient()| |10|2|5| |12.6|3|4.2| |100|4|25| Now you want to measure how much time this test is taking to execute. But you don't want to or cannot modify the existing test fixture. Basically you want to decorate the existing fit tests with extra features. It would be cool if you could write a decorator around your fit test which starts a timer before the execution of the fit test starts, runs the fit test as usual and once the execution is completed it records the amount of time it took to run the test. An assertion on the execution time to make sure it executes within a max time is also quite handy to be aware of the application's performance over a period of time. Something like this: !|Max Time|100|milliseconds| |Division| |numerator|denominator|quotient()| |10|2|5| |12.6|3|4.2| |100|4|25| '''Note:''' As of now, all the times are in milliseconds. The parameter "milliseconds" in the fixture above is just ignored.
Use alt+s (Windows) or control+s (Mac OS X) to save your changes. Or, tab from the text area to the "Save" button!
Grab the lower-right corner of the text area to increase its size (works with some browsers).