generated from csivitu/Template
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
enhancementNew feature or requestNew feature or requesthacktoberfestHacktoberfest 2020Hacktoberfest 2020help wantedExtra attention is neededExtra attention is needed
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 Dockerfiles for all the languages work can be done with or without mocha or chai.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthacktoberfestHacktoberfest 2020Hacktoberfest 2020help wantedExtra attention is neededExtra attention is needed