Kelvin Clement Mwinuka
502e804459
Removed logic to get unexported methods from the echovault package in all tests.
2024-05-30 19:33:01 +08:00
Kelvin Clement Mwinuka
aa7b5fa8cc
Added ZRemRangeByLex and ZRemRangeByRank to embedded API.
2024-05-14 02:11:10 +08:00
Kelvin Clement Mwinuka
1981fe9d1d
Added unit tests for COMMAND COUNT and COMMAND LIST commands in admin module
2024-05-09 02:06:31 +08:00
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