Hi

We use a server side scripting framework that embeds Rhino for
processing javascript files. One thing that elludes us is a method to
test our code efficiently, partially because the script files have a
lot of server side dependencies, making unit tests hard. As a result
we have functional tests for the resultant output but limited insight
onto the effeciveness of the test.

I'm sure this has been asked of before but how conceptually difficult
would it be to write some kind of code coverage tool around Rhino ? If
we ran a functional test which invoked the server side javascript
components some kind of report as to which paths through the script(s)
were followed (or not) would be immensely useful. Any pointers ?
Should I give up now  ?  :-)

thanks

Tim
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to