Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I would like to run MUnit tests from the command line. On Mac OS, I can do this:

AppendTo[$Path, "/Applications/Wolfram Workbench.app/configuration/org.eclipse.osgi/bundles/13/1/.cp/MathematicaSourceVersioned/Head"];

<< MUnit`

and then use the MUnit functions such as TestRun to run the tests. However, on Linux, the MUnit package is stored within a jar file (com.wolfram.eclipse.testing_2.0.126.jar), rather than being "bare" in the filesystem. Workbench must be able to load the package; is it possible to load MUnit from the jar file? One solution would be to extract MUnit into a temporary directory each time you wanted to load it, but this is quite ugly.

share|improve this question
2  
I would suggest to extract it. It for development, not for end users, so just extract it once and put it at some fixed location. (That's what I did.) –  Szabolcs Aug 27 '13 at 18:16

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.