--
You received this message because you are subscribed to the Google Groups "Jasmine Dev" group.
To post to this group, send email to jasmine...@googlegroups.com.
To unsubscribe from this group, send email to jasmine-js-de...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/jasmine-js-dev?hl=en.
Sounds good Rajan. Thanks!
--
med vänlig hälsning
David J. Hamilton
--
I think coverage support for tests is a common enough use case that it should be
__easy__ to add.
That said, I think it's also perfectly reasonable for core to be more focused,
in which case the pull request can be interpreted as an issue: “It's too hard to
add coverage support for jasmine tests”.
Excerpts from Rajan Agaskar's message of Tue Jun 07 05:16:50 -0700 2011:
> Whether or not it makes it into core (and it's true that many of our users
> probably don't use code coverage tools, so I'd be OK if we decide it doesn't
> make sense for core), this is a probably a good example of what the plugin
> architecture should support.
I agree. The main reason I didn't write this as a gem was because of the
headache of monkeypatch maintenance. From what I can recall, the two areas
where I would need hooks to make this a standalone gem are:
1. Support for multiple config (jasmine.yml) files, preferably driven by an
environment variable.
2. A hook to run arbitrary ruby code at the end of a test run, but before the
runner has stopped. The hook needs an API for running arbitrary
javascript in the runner.
To view this discussion on the web visit https://groups.google.com/d/msg/jasmine-js-dev/-/aVPiECN3OD4J.