Issue2794

classification
Title: invocation_tests.py missing from modjy tests
Type: crash Severity: normal
Components: Library Versions: Jython 2.7
Milestone:
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: amak, jeff.allen
Priority: normal Keywords: test failure causes

Created on 2019-08-12.20:27:31 by jeff.allen, last changed 2019-08-12.20:27:31 by jeff.allen.

Messages
msg12628 (view) Author: Jeff Allen (jeff.allen) Date: 2019-08-12.20:27:31
The target "ant test" fails for several reasons, but they include the tests it performs on our modjy support. I can fix these causes easily except for one, so I'm raising an issue and skipping the failing tests for now.

~/tests/modjy/java/com/xhaus/ModjyTestAppInvocation.java is looking for ~/tests/modjy/test_apps_dir/invocation_tests.py but it has never existed in our codebase. Presumably, it was overlooked at check it in. Definitely, we have not run these tests successfully since https://hg.python.org/jython/rev/76f8e597de04 .

You can run the modjy tests directly (it's a lot quicker) by running ant in ~/tests/modjy. but you have to define (Powershell):

PS modjy> $env:JYTHON_HOME="..\..\dist"
PS modjy> $env:MOCKRUNNER_HOME="..\..\extlibs\mockrunner-0.4.1"

or equivalent in your favourite shell.
History
Date User Action Args
2019-08-12 20:27:31jeff.allencreate