Kelvin Clement Mwinuka
270c5ef002
Use make scripts to run tests in build workflow
2024-05-09 00:11:07 +08:00
Kelvin Clement Mwinuka
cf38d17221
Disabled MODULE LIST command test
2024-05-09 00:07:51 +08:00
Kelvin Clement Mwinuka
cfa8e35997
Use path.Join instead of hardcoded path to load mdules in admin tests.
2024-05-09 00:05:01 +08:00
Kelvin Clement Mwinuka
ba48a517e4
Re-enabled cleanup of testdata folder after completing Test_AdminCommand suite
2024-05-08 23:54:31 +08:00
Kelvin Clement Mwinuka
c5c1487799
Fixed race condition in admin module commands tests by passing --race flag to build command for modules
2024-05-08 23:53:12 +08:00
Kelvin Clement Mwinuka
b3ceecf80f
Removed unnecessary fmt.Println statement
2024-05-08 23:21:35 +08:00
Kelvin Clement Mwinuka
63524c0996
Fixed type in admin module test file
2024-05-08 23:20:23 +08:00
Kelvin Clement Mwinuka
d28bda98bb
Added makefile command to build modules for admins module tests.
...
Implemented more sensible logic for testing the COMMANDS command instead of just printing each returned command.
Implemented tests for MODULE LOAD, MODULE UNLOAD, and MODULE LIST commands.
Implemented testdata folder cleanup after finishing admin command tests.
2024-05-08 23:17:45 +08:00
Kelvin Clement Mwinuka
193871ec72
Removed test folder and moved all commands tests to their respective internal modules. Moved api tests into echovault package. This change has been made because the speratate test folder is not idiomatic and caused test coverage report to not be generated.
2024-05-04 17:45:10 +08:00