1 |
Hello, |
2 |
|
3 |
This week I added the final touches to the testing module. Now we have |
4 |
support for |
5 |
1. The testing module puts up the interface with the test configuration |
6 |
file(s) and then runs various commands to check the status of the network. |
7 |
|
8 |
2. The list of commands to run and the specifications of how to read the |
9 |
output is specified in the specs file(s) |
10 |
https://github.com/gentoo/netifrc-systemd/blob/master/test/specs/eth_static.yaml |
11 |
|
12 |
3. The test runner is divided into two parts. When it runs in the master |
13 |
mode it runs the test specified in the spec and stores the output in a file |
14 |
which serves as the basis for future tests (The plan is that this file is |
15 |
also bundled with the test suite). In slave mode it matches runs the tests |
16 |
again but this time matches the output with the expected output |
17 |
|
18 |
You can find the code here: |
19 |
https://github.com/gentoo/netifrc-systemd/tree/master/test |
20 |
|
21 |
I have not really documented the code so feel free to ask me any doubts you |
22 |
have. |
23 |
I'll document it soon |
24 |
-- |
25 |
Regards, |
26 |
Rabi |