GeezerVison is showing github.com — tests(Stage 1): Create unit test for testing all languages bidirectionally · Issue #61 · UniversalPython/UniversalPython
tests(Stage 1): Create unit test for testing all languages bidirectionally #61
Description
Use https://docs.pytest.org/en/stable/
Create a unit test using pytest which loads all languages, and tests each one-by-one by providing a "demo file" (from the samples), and transpiling AND reverse-transpiling an English one into the source language.
This will only test if there are any crashes DURING conversion, we are not planning to test actual syntax and actual program running.
Activity
changed the title
[-]Create unit tests for functions / internal architecture[/-] [+]Create unit tests for testing all languages bidirectionally[/+] on Feb 22, 2026changed the title
[-]Create unit tests for testing all languages bidirectionally[/-] [+]Create unit test for testing all languages bidirectionally[/+] on Feb 22, 2026changed the title
[-]Create unit test for testing all languages bidirectionally[/-] [+]tests(Stage 1): Create unit test for testing all languages bidirectionally[/+] on Feb 22, 2026shahrukhfu commented on Feb 25, 2026
Hi there, I'd like to take on this issue,
My plan is:
- Create a test using pytest that discovers all the languages in the repo.
- Implement a loop that iterates through each language using its demo file in the samples directory.
- Test for bidirectional transpilation for each language.
- I understand that testing for the execution of the code is out of scope for this task and test will only pass if there are no crashes during the conversion.
Please assign this issue to me!
SaadBazaz commented on Feb 26, 2026
CollaboratorAuthor
More actions
Looks good, @shahrukhfu . Good to start simple. Do make a draft PR as soon as you start, then assign me for review once done.
Feel free to ask further questions in this thread or in your draft PR.
Metadata
Metadata
Development
No branches or pull requestsIssue actions