Skip to content

ingmarrr/1dv607

Repository files navigation

Members

Ingmar Falk - if222gq@student.lnu.se

Setup

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

How to check out the project

Building

To build the project run:

docker build -t a2 .

Running

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

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 test

Linting

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

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).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published