From fe61508edb29c3344c8e33eaa84a7d97d954b434 Mon Sep 17 00:00:00 2001 From: Naoto Hanaue Date: Wed, 11 Nov 2015 21:36:27 +0900 Subject: scenario_test: doc update --- test/scenario_test/README.md | 46 +++++++++++++++++++++++++++++++++++--------- 1 file changed, 37 insertions(+), 9 deletions(-) (limited to 'test/scenario_test/README.md') diff --git a/test/scenario_test/README.md b/test/scenario_test/README.md index caca260c..a68f7598 100644 --- a/test/scenario_test/README.md +++ b/test/scenario_test/README.md @@ -84,17 +84,45 @@ $ sudo fab -f ./test/lib/base.py make_gobgp_ctn --set tag=gobgp ## Run test -You can run all scenario tests with run_all_tests.sh. -If all tests passed, you can see "all tests passed successfully" at the end of the test. -```shell -$ cd $GOPATH/src/github.com/osrg/gobgp/test/scenario_test -$ ./run_all_tests.sh -... -OK -all tests passed successfully -``` +1. Run all test + + You can run all scenario tests with run_all_tests.sh. + If all tests passed, you can see "all tests passed successfully" at the end of the test. + + ```shell + $ cd $GOPATH/src/github.com/osrg/gobgp/test/scenario_test + $ ./run_all_tests.sh + ... + OK + all tests passed successfully + ``` +
+2. Run each test + + Gobgp have a scenario test shown in the following. + You can run scenario tests individually with each test file. + + ```shell + $ cd $GOPATH/src/github.com/osrg/gobgp/test/scenario_test + $ sudo -E PYTHONPATH=$GOBGP/test python .py + ... + OK + ``` + what kind of scenaio tests: + - bgp_router_test + - bgp_zebra_test + - evpn_test + - flow_spec_test + - global_policy_test + - ibgp_router_test + - route_reflector_test + - route_server_ipv4_v6_test + - route_server_malformed_test + - route_server_policy_grpc_test + - route_server_policy_test + - route_server_test ##
Clean up A lot of containers are created during the test. -- cgit v1.2.3