Group Abstract Group Abstract

Message Boards Message Boards

4
|
7.2K Views
|
2 Replies
|
8 Total Likes
View groups...
Share
Share this post:

Workbench and Mathematica 10 on Windows

Posted 12 years ago

I have a fresh installation of Workbench 2.0 Build 126 and Mathematica 10.0.0 on Windows. When trying to run tests by right click, Run As -> Mathematica Test, I get:

enter image description here

Has anyone else encountered problems like this? Is there quick fix?

Otherwise: how can I run the test by loading the package MUnit directly and find out precisely which tests are failing and how? I can use TestRun but it won't tell me which tests failed. Also, TestRun will fail when the test file contains a TestSuite, so I ran it manually on each test file.

POSTED BY: Szabolcs Horvát
2 Replies
POSTED BY: Szabolcs Horvát

It looks like when loading the M10 version of MUnit (not the version shipped with WorkBench), one can do

tr = TestReport["testfile.mt"]

But I can't seem to figure out how to get reliable results from it:

enter image description here

I know for a fact that some tests have failed with messages here. Yet it's not telling me which (it claims none). tr["TestsFailedCount"] gives 2.

Can I trust the results I get from this new version of MUnit? I would feel much safer if I could just use the Workbench version which I know works fine. When I played with the test notebook interface in v10, it seemed rather glitchy, but I haven't taken the time to figure out what specifically is wrong with it (if anything) ...

Does WRI use the same version of MUnit internally for testing?

POSTED BY: Szabolcs Horvát
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard