I\'d like to execute JavaScript code from within a C# assembly and have the results of the JavaScript code returned to the calling C# code.
It\'s easier to define things
If you're not executing the code in the context of a browser, why do the tests need to be written in Javascript? It's hard to understand the bigger picture of what you're trying to accomplish here.