Changes between Version 23 and Version 24 of pyrunner


Ignore:
Timestamp:
08/21/24 10:06:23 (8 months ago)
Author:
wouter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pyrunner

    v23 v24  
    5353* otherwise, the call was a success and the value in stdin is returned. This will normally contain all the text that was printed to stdout in python. Your program can decide then what to do with that.
    5454
    55 === Running python unit tests
     55=== Run all tests programatically
    5656PythonVenv also has support to run unit tests with discovery.
    5757Your java code is assumed to have ...Test.java files that are compiled into your zip file, If you use java2python, you can keep the src and test java code separate and use something like
     
    8181}}}
    8282
     83=== Running/Debugging tests from commandline
     84Running and Debugging a unit test from the commandline is a bit more tricky because python can not find tests in a zip file. Nor can it find them after unzipping, because pip install removes some files.
    8385
     86* make a venv and activate
     87* pip install the zip
     88* pip install [source:/unitpy/dist unitypy]
    8489
    85