Ingmar Falk - if222gq@student.lnu.se
To be able to run this, you are going to have docker installed. To install docker, please refer to the official website:
Go here to download docker
To build the project run:
docker build -t a2 .
First - Enter the environment:
docker container run --rm -it `build_name` bash
You will then enter the container environment:
root@e7417beb0975:/usr/src/a2# ~
You can then run:
root@e7417beb0975:/usr/src/a2# ~ cargo run
First - Enter the environment:
docker container run --rm -it `build_name` bash
Then - in the container environment type:
root@e7417beb0975:/usr/src/a2# ~ cargo test
First - Enter the environment:
docker container run --rm -it `build_name` bash
Then - in the container environment type:
root@e7417beb0975:/usr/src/a2# ~ cargo clippy --all
The test report is an automatically generated table derived from the output of the cargo test
command piped into the test_results
file via the command: cargo test > test_results
. After that you can generate the report by running python test.py
(requires python 3.10).