Skip to content

Commit

Permalink
move parsing testing into functional
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-mangin committed May 27, 2022
1 parent ff8cf32 commit 0bfecd1
Show file tree
Hide file tree
Showing 5 changed files with 179 additions and 397 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- name: Configuration Parsing Checks
run: |
./qa/bin/parsing
./qa/bin/functional parsing
- name: Functional Checks
run: |
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -285,18 +285,18 @@ If you want to check any code changes, the repository comes with a `qa` folder,

ExaBGP comes with a set of functional tests, each test starts an IBGP daemon expecting a number of per recorded UPDATEs for the matching configuration file.

You can see all the existing tests running `./qa/bin/functional listing`. Each test is numbered and can be run independently (please note that 03 is not the same as 3).
You can see all the existing tests running `./qa/bin/functional encoding --list`. Each test is numbered and can be run independently (please note that 03 is not the same as 3).

```sh
# ./qa/bin/functional encoding # (run all the test)
# ./qa/bin/functional encoding 03 # (run test 03 as reported by listing)
# ./qa/bin/functional encoding # (run all the test)
# ./qa/bin/functional encoding A # (run test 03 as reported by listing)
```

You can also manually run both the server and client for any given test:

```sh
shell1# ./qa/bin/functional server 03
shell2# ./qa/bin/functional client 03
shell1# ./qa/bin/functional encoding --server A
shell2# ./qa/bin/functional encoding --client A
```

A test suite is also present to complement the functional testing.
Expand Down
180 changes: 0 additions & 180 deletions qa/bin/conversation.serial

This file was deleted.

Loading

0 comments on commit 0bfecd1

Please sign in to comment.