Cannot run Unit Tests from windows command line
After concluding that Unit Testing via the Sikuli GUI doesn't work in 0.10.2, I've tried running from the command line using the updated batch file.
I was using a simple Windows Calc test, taken from http://
If I remove the "def test_calculator
c:/tmp> Sikuli-IDE.bat -r Calc.sikuli
And this runs, again popping up a Java dialog to tell me about the failed assert. But trying to run it as a Unit Test (having replaced the test method line back in) I am getting no joy. What I see is :
c:/tmp> Sikuli-IDE.bat -t Calc.sikuli
null
That's it. It just returns null. I've tried changing test methods, removing asserts, ensuring JUnit and Sikuli binaries are on my path or classpath, but I can't get it to do anything other than return null.
Maybe the fact that I can't get any Sikuli Unit Testing working via the IDE means I should focus more on that, although I can see a bug for that (https:/
Anything else I might try ? Or is it best to rollback to 0.9.9 (which I've not tried yet) and wait for a known, reported bug to be added into a new release ?
Thanks,
Ben
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Ben Turner
- Solved:
- Last query:
- Last reply: