wied03 / karma-opal-rspec

Opal-RSpec Karma plugin
0 stars 0 forks source link

Enhance Formatter #17

Closed wied03 closed 8 years ago

wied03 commented 8 years ago

1) When we make the info call to start, use something like Jasmine does by supplying a specs: getAllSpecNames(jasmineEnv.topSuite()) property so that Karma knows what examples we'll be running. Measure performance before making this permanent

2) Rather than putting the startTime as an ivar on the formatter, either put it on the example itself or initialize a hash table for each test run and hash the startTime by example

wied03 commented 8 years ago

Not easy to get list of groups from RSpec::World and it's not available at startup (only count is). Completed instance var