diff options
Diffstat (limited to 'test/README.md')
-rw-r--r-- | test/README.md | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/test/README.md b/test/README.md new file mode 100644 index 0000000..402fa87 --- /dev/null +++ b/test/README.md | |||
@@ -0,0 +1,69 @@ | |||
1 | # libwifi Tests | ||
2 | libwifi uses CMakes testing functionalities. The tests are in the `src/` directory, and can be used with `make test`. | ||
3 | |||
4 | ## Running Tests | ||
5 | ``` | ||
6 | >> mkdir build | ||
7 | >> cd build | ||
8 | >> cmake .. | ||
9 | >> make && make test | ||
10 | ``` | ||
11 | |||
12 | ## Expected Output | ||
13 | ``` | ||
14 | >> make test | ||
15 | Running tests... | ||
16 | Test project libwifi/test/build | ||
17 | Start 1: test_action_gen_full | ||
18 | 1/24 Test #1: test_action_gen_full ............. Passed 0.00 sec | ||
19 | Start 2: test_action_gen_details | ||
20 | 2/24 Test #2: test_action_gen_details .......... Passed 0.00 sec | ||
21 | Start 3: test_assoc_req_gen_full | ||
22 | 3/24 Test #3: test_assoc_req_gen_full .......... Passed 0.00 sec | ||
23 | Start 4: test_assoc_req_gen_tags | ||
24 | 4/24 Test #4: test_assoc_req_gen_tags .......... Passed 0.00 sec | ||
25 | Start 5: test_assoc_resp_gen_full | ||
26 | 5/24 Test #5: test_assoc_resp_gen_full ......... Passed 0.00 sec | ||
27 | Start 6: test_assoc_resp_gen_tags | ||
28 | 6/24 Test #6: test_assoc_resp_gen_tags ......... Passed 0.00 sec | ||
29 | Start 7: test_atim_gen_full | ||
30 | 7/24 Test #7: test_atim_gen_full ............... Passed 0.00 sec | ||
31 | Start 8: test_auth_gen_full | ||
32 | 8/24 Test #8: test_auth_gen_full ............... Passed 0.00 sec | ||
33 | Start 9: test_auth_gen_tags | ||
34 | 9/24 Test #9: test_auth_gen_tags ............... Passed 0.00 sec | ||
35 | Start 10: test_beacon_gen_full | ||
36 | 10/24 Test #10: test_beacon_gen_full ............. Passed 0.00 sec | ||
37 | Start 11: test_beacon_gen_tags | ||
38 | 11/24 Test #11: test_beacon_gen_tags ............. Passed 0.00 sec | ||
39 | Start 12: test_deauth_gen_full | ||
40 | 12/24 Test #12: test_deauth_gen_full ............. Passed 0.00 sec | ||
41 | Start 13: test_deauth_gen_tags | ||
42 | 13/24 Test #13: test_deauth_gen_tags ............. Passed 0.00 sec | ||
43 | Start 14: test_disassoc_gen_full | ||
44 | 14/24 Test #14: test_disassoc_gen_full ........... Passed 0.00 sec | ||
45 | Start 15: test_disassoc_gen_tags | ||
46 | 15/24 Test #15: test_disassoc_gen_tags ........... Passed 0.00 sec | ||
47 | Start 16: test_probe_req_gen_full | ||
48 | 16/24 Test #16: test_probe_req_gen_full .......... Passed 0.00 sec | ||
49 | Start 17: test_probe_req_gen_tags | ||
50 | 17/24 Test #17: test_probe_req_gen_tags .......... Passed 0.00 sec | ||
51 | Start 18: test_probe_resp_gen_full | ||
52 | 18/24 Test #18: test_probe_resp_gen_full ......... Passed 0.00 sec | ||
53 | Start 19: test_probe_resp_gen_tags | ||
54 | 19/24 Test #19: test_probe_resp_gen_tags ......... Passed 0.00 sec | ||
55 | Start 20: test_reassoc_req_gen_full | ||
56 | 20/24 Test #20: test_reassoc_req_gen_full ........ Passed 0.00 sec | ||
57 | Start 21: test_reassoc_req_gen_tags | ||
58 | 21/24 Test #21: test_reassoc_req_gen_tags ........ Passed 0.00 sec | ||
59 | Start 22: test_reassoc_resp_gen_full | ||
60 | 22/24 Test #22: test_reassoc_resp_gen_full ....... Passed 0.00 sec | ||
61 | Start 23: test_reassoc_resp_gen_tags | ||
62 | 23/24 Test #23: test_reassoc_resp_gen_tags ....... Passed 0.00 sec | ||
63 | Start 24: test_timing_ad_gen_tags | ||
64 | 24/24 Test #24: test_timing_ad_gen_tags .......... Passed 0.00 sec | ||
65 | |||
66 | 100% tests passed, 0 tests failed out of 24 | ||
67 | |||
68 | Total Test time (real) = 0.06 sec | ||
69 | ``` | ||