Open
Description
Write tests for all languages
Currently, code-executor
supports all languages mentioned in src/langs. There are no script yet to test if these languages work properly. You can add tests in test for each language.
Proposed structure
- Each language has a folder inside test, the name of the folder is the name of the language
- There are two scripts in each folder, one for master and one for the worker.
You might consider using a testing library such as mocha or chai. However, for this, timeouts need to be configured properly since these tests will be running on Github Actions in the future. Nonetheless, adding a unit testing library for each language is not a priority right now, verifying that the Dockerfile
s for all the languages work can be done with or without mocha
or chai
.