Skip to content

Move env set-up from test/run_tests.sh to individual .py files #9186

@zhanyong-wan

Description

@zhanyong-wan

🚀 Feature

Currently the python test files cannot be run directly - they need to be invoked via test/run_tests.sh, which sets up the test environment before running the python file, and the environment varies from test to test.

This makes debugging complex. If we move the set-up logic from .sh to .py, it will make debugging and running the tests easier. It also makes the test files self-sufficient.

Metadata

Metadata

Assignees

No one assigned

    Labels

    tech debtTechnical Debt Is EviltestingTesting and coverage related issues.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions