You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.
Our scripting system has a bunch of code in the entry_point(), that isn't currently tested by test_wrappers, which will only run the <script>.main(*args) function.
This can mean that bugs slip through if the code in that section is not trivial. There are two alternatives I suppose:
Rework all of the scripts so that entry_point only contains the code for parsing the command-line args
Add an additional test for each script, which uses os.system to call the script from the command line.
The text was updated successfully, but these errors were encountered:
schwancr
changed the title
entry_point() in script creates a limbo for untested code
entry_point() in script creates a limbo for untested code
Sep 8, 2014
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Our scripting system has a bunch of code in the
entry_point()
, that isn't currently tested bytest_wrappers
, which will only run the<script>.main(*args)
function.This can mean that bugs slip through if the code in that section is not trivial. There are two alternatives I suppose:
os.system
to call the script from the command line.The text was updated successfully, but these errors were encountered: