esds/tests/README.org

52 lines
1.9 KiB
Org Mode
Raw Normal View History

2022-07-01 20:53:13 +02:00
#+TITLE: Test Description
#+AUTHOR: Loic Guegan
Tests folders names convention:
- m senders and n receivers is written "<m>s<n>r" (ex: "1s5r")
- n nodes is written "<n>n" (ex: "5n")
- Tests names follow the following format "<title>_<m>s<n>r" or "<title>_<n>n" (ex: "simple_send_rcv_1s5r", "ping_pong_2n")
- Tests that test elementary API functions should start with the "api" keyword
* api_log_5n [1/1]
- [X] Logs are performed in order
* api_read_clock_2n [1/1]
- [X] Read the current simulated time
2022-07-02 09:45:53 +02:00
* api_read_eth0_ncom_2s1r [3/3]
2022-07-01 20:53:13 +02:00
- [X] No communication should return 0
- [X] Work with 1 communication
- [X] Work with 2 communications
2022-07-02 09:45:53 +02:00
* api_read_order_ncom_1s2r [2/2]
- [X] Check that order of node instanciation (sender before receiver in simulator.py) do not matter on the results
if a communication starts while read to ncom is performed
- [X] If a communication starts while read to ncom is performed, it should return 0 (deterministic rule)
* api_read_wlan0_ncom_2s1r [1/1]
- [X] Ensure similar behavior wlan0/eth0 for ncom reads
* api_receivet0_eth0_1s1r [1/1]
- [X] receivet() with a timeout of 0 should receive the data while not modifying simulated time
* api_receivet_eth0_1s1r [3/3]
- [X] If timeout not expire receivet() should receive the data in the queue
- [X] If timeout expire receivet() should return -1
- [X] If data received when timeout expire (same simulated time), data should be received
2022-07-01 20:53:13 +02:00
* api_send0_eth0_1s1r
* api_send_4interfaces_1s2r
* api_send_eth0_1s1r
* api_send_eth0_2s1r
* api_send_eth0_3s1r
* api_sendt_eth0_1s1r
* api_sendt_wlan0_1s2r
* api_send_wlan0_1s2r
* api_send_wlan0_2s1r
* api_wait_2n
* api_wait_end_3n
* breakpoints_auto_1n
* breakpoints_manual_1n
* breakpoints_manual_no_callback_1n
* hidden_node_2s1r
* mobility_eth0_bandwidth_1s1r
* mobility_eth0_bandwidth_2s1r
* mobility_eth0_latency_1s1r
* mobility_eth0_latency_2s1r
* mobility_wlan0_bandwidth_1s1r
* mobility_wlan0_latency_1s1r