We're beginning our beta refactor of the lingo language across 5 languages in the ./lingo folder. In this ticket we're going to improve the testing we have in ./lingo/test. Make a new test file test_setup.py that has a single test for each language and confirms that the expected commands to build and run the languages exist. We currently do that in test_hello_world.py but we're using it determine if we should skip the test. We don't want to do that, tests should fail if the environment cannot build or run the language. We want to update these tests to do that accordingly.
requirements
- create
test_setup.py to test that all languages are setup correctly
- update
test_hello_world.py to not skip, but fail a test when the environment cannot run hello world
We're beginning our beta refactor of the lingo language across 5 languages in the
./lingofolder. In this ticket we're going to improve the testing we have in./lingo/test. Make a new test filetest_setup.pythat has a single test for each language and confirms that the expected commands to build and run the languages exist. We currently do that intest_hello_world.pybut we're using it determine if we should skip the test. We don't want to do that, tests should fail if the environment cannot build or run the language. We want to update these tests to do that accordingly.requirements
test_setup.pyto test that all languages are setup correctlytest_hello_world.pyto not skip, but fail a test when the environment cannot run hello world