linuxmuster / linuxmuster-linuxclient7

The new approach on connecting linuxclients to the Linuxmuster.net v7 Active Directory server.
3 stars 5 forks source link

Write unit tests #36

Open dorianim opened 2 years ago

dorianim commented 2 years ago

As I learned from Prof. Pretschner (my favorite prof so far:), every code should have unit tests. I am not sure if we can test everything over here, but at least some tests should be possible.

The tests should run on every commit. Merging should only be allowed if all tests are passing and the added code is covered by tests.

Progress can be seen here:

dorianim commented 2 years ago

Codecov needs to be setup on prs

dorianim commented 2 years ago

Seems to work: https://github.com/linuxmuster/linuxmuster-linuxclient7/pull/46#issuecomment-1093833007