issues
search
lkelly93
/
scheduler
Schedules and runs foreign code sequentially.
MIT License
0
stars
1
forks
source link
Refactored Tests, Renamed Test Files
#11
Closed
lkelly93
closed
4 years ago
lkelly93
commented
4 years ago
Makefile
Added make file to run tests,
make testShort runs all the tests except the ones that test program timeout
make testAll tests runs all the tests in the repo.
executable.go
Deleted unused code
Changed the method that we ran the code so we could test for timeouts.
executable_test.go
Rewrote this file to test be more encompassing.
Test NewExecutable more directly by actually testing the program struct directly
Added tests in Java and Python for programs that are more then just printing "Hello World"
Added tests to make sure Recursion works
Added tests to check for if our program times out.
Added tests to make sure that the runner files are deleted after the program is run
Other small QOL changes like moving the methods around in the file.
long_executable_test.go
Moved test that could potentially take a long time to run into this file so you can choose if you want to run the longer tests.
executable/test_data/
Added a file to hold the longer programs that we using for testing.
handler.go
Renamed LeadingCode to Imports
handler_test.go
Added tests to check if the files were properly created
Added tests for RemoveFilePath
java_runner.go
Rename the insert code methods to be language specific
python_runner.go
Added insert code methods for python
lkelly93
commented
4 years ago
Passing all tests on my local machine.
Makefile
executable.go
executable_test.go
long_executable_test.go
executable/test_data/
handler.go
handler_test.go
java_runner.go
python_runner.go