-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Problem Statement
It would be great to be able to run the SKILL tests by mapping each SKILL test function to a pytest test case. This would allow the results to show up in VS Code's test runner for example.
Proposed Solution
The user should be able to write a single python script which contains a test function which generates a test case for each SKILL test function. The user should be able to specify files and or directories to be included.
https://stackoverflow.com/questions/4923836/generating-py-test-tests-in-python
https://docs.pytest.org/en/latest/how-to/parametrize.html#pytest-generate-tests
Alternatives Considered
- Write the tests in pure python and just make the function calls in SKILL through SKILL bridge. However this makes it harder to debug. The SKILL debugger built-in to Virtuoso is still the best option I've found for debugging SKILL code.
Proposed Action Plan
- 1. we'll do this
- 2. We'll do that
- 3. Then we'll add tests for this and that.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request