Skip to content

Create way to run test suite from Python (3145) #1588

@GalacticEmperor1

Description

@GalacticEmperor1

Issue №3145 opened by Starbuck5 at 2022-04-18 08:41:27

It would be nice to have a python file that could be packaged and run the tests itself. (Rather than looking through a directory and running the test files with subprocess)

This has come up with pyinstaller (# 2136), and @pmp-p says it would also be helpful for running the tests in a web environment.


Comments

# # pmp-p commented at 2022-04-19 17:35:22

on browser, i use an asyncio loop to run cpython testsuite and it works quite well.


# # pmp-p commented at 2022-04-20 20:08:03

I have a very basic test runner for cpython testsuite, maybe it can help
https://github.com/pmp-p/python-wasm-plus/blob/main/demos/org.python3.11.0/static/org.python3.11.0.py

Result published from CI ( pygame ready just miss the testsuite runner ):
https://pmp-p.github.io/python-wasm-plus

Metadata

Metadata

Assignees

No one assigned

    Labels

    teststests (module)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions