Skip to content
This repository was archived by the owner on Jan 26, 2022. It is now read-only.
This repository was archived by the owner on Jan 26, 2022. It is now read-only.

entry_point() in script creates a limbo for untested code #436

Open
@schwancr

Description

@schwancr

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:

  1. Rework all of the scripts so that entry_point only contains the code for parsing the command-line args
  2. Add an additional test for each script, which uses os.system to call the script from the command line.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions