EVerest / everest-demo

EVerest demo: Dockerized demo with software in the loop simulation
Apache License 2.0
11 stars 13 forks source link

Turn on basic testing #23

Closed shankari closed 3 months ago

shankari commented 4 months ago

I wanted to turn on the automated tests that we have, but it fails because pytest is not installed. @couryrr-afs can you please fix the automated tests so we can include them as well.

Existing automated e2e tests fail ``` $ bash demo-automated-testing.sh [+] Building 0.0s (0/0) docker:desktop-linux [+] Running 2/0 ✔ Container everest-ac-demo-mqtt-server-1 Created 0.0s ✔ Container everest-ac-demo-manager-1 Created 0.0s Attaching to everest-ac-demo-manager-1, everest-ac-demo-mqtt-server-1 everest-ac-demo-mqtt-server-1 | 1710048535: mosquitto version 2.0.10 starting everest-ac-demo-mqtt-server-1 | 1710048535: Config loaded from /mosquitto/config/mosquitto.conf. everest-ac-demo-mqtt-server-1 | 1710048535: Opening ipv4 listen socket on port 1883. everest-ac-demo-mqtt-server-1 | 1710048535: Opening websockets listen socket on port 9001. everest-ac-demo-mqtt-server-1 | 1710048535: mosquitto version 2.0.10 running everest-ac-demo-manager-1 | ./run-test.sh: line 3: pytest: not found everest-ac-demo-manager-1 exited with code 127 ```
shankari commented 3 months ago

Marking this PR as a draft to avoid confusion. I am not really committed to working on it, and there should not be any expectations around when/if it will ever be ready for prime time.

shankari commented 3 months ago

Closing it completely to avoid even more confusion