Skip to content

Tests: Damien

Zaphkiel Ivanovna Serebryakov edited this page Apr 5, 2022 · 1 revision

Fiche de tests

Tests 1

Start testing the I2C module

Must return the correct bus number when creating the instance.

We simulate the creation of the 3 I2C Bus instances

Returns the correlation between the bus number and the requested bus number.


Tests 2

Scan all devices on each I2C bus

Must return the addresses of each device on their I2C bus.

We simulate a scan of I2C devices on each bus. [ 64, 112 ]

Returns the correlation between the I2C devices and the returned I2C devices array.


Tests 3

Test the availability of the Front web server.

Should respond with a 200 status code

We simulate a request to the Front web server

Expected to return status code 200


Tests 4

Test the availability of the API Server.

Should respond with a 200 status code

We simulate a request to the API server

Expected to return status code 200