This repository contains integrated tests for codec-dubbo.
All the tests are stored in tests/ directory.
- crosstest/dubbo2kitex
- crosstest/kitex2dubbo
- crosstest/kitex2kitex
- registry_test/registry
- registry_test/resolver
These tests categories correspond to the test subdirectories in run.sh.
Please refer to the concrete category for detail.
- Create sub-dir in tests/ directory. Make sure that this sub-dir could be tested
by
go test
directly. - Add this sub-dir to tests variable in run.sh
If you need to modify Client/Server Code, please refer to code/ directory. For the kitex part, please refer to codec-dubbo for detailed usage.
run.sh would test all integrated test categories stored in tests variable by default. To save time, you could remain the test category you want and comment others.
./run.sh
run.sh would accept a parameter to replace codec-dubbo version for CI.