Add integration tests for driver using gRPC #9
Labels
good first issue
Good for newcomers
help wanted
Contributions are welcome
tests
Improvements or additions to tests
Implement a few simple tests for driver that connect to it via gRPC, add and remove devices, and observe results.
Related files:
rpc/driver_protocol.proto
defines RPC interfacetest
- directory for tests (we use GoogleTest)tool/connector.cpp
- example of client code that connects to driver using gRPCExample tests:
ping()
, calldriver_info()
add_device()
), check that we can retrieve device info (get_device()
) and it has correct parameters, check that it appeared in device list (get_all_devices()
)These tests will require driver to be loaded, so they should be run after executing
make install
andmake kick
. They should be excluded frommake test
by default and should invoked separately, e.g. usingmake driver_test
.We should run these tests on CI.
The text was updated successfully, but these errors were encountered: