UCL / SkullBaseNavigation

Other
2 stars 1 forks source link

Get Slicer tests to work as part of the CI pipeline #14

Open tdowrick opened 3 years ago

tdowrick commented 3 years ago

In GitLab by @ThomasDowrick on Nov 23, 2018, 09:59

Currently the CI pipeline is completing, but not actually running any tests.

As the Slicelet code needs to be run through Slicer to work, I haven't yet been able to get this integrated into the CI pipeline. There are some basic tests I implemented manually, which can be run using:

/path/to/slicer/Slicer --python-script skullbasenavigation/test_slicer_functions.py

but these don't use any unit testing framework.

Possible solutions:

a) Install Slicer as part of the CI pipeline and run all the tests through there. b) Find out if it is possible to run tests on the Sliclet code without having a Slicer instance running.

At some point it will be useful to have a) anyway, as we will want to have some tests running on the completed Slicelet as part of CI.

tdowrick commented 3 years ago

In GitLab by @ThomasDowrick on Nov 23, 2018, 10:31

changed the description

tdowrick commented 3 years ago

In GitLab by @MattClarkson on Dec 10, 2018, 11:34

@RolandGuichard @DavidPerez-Suarez

I haven't had time to look at the test script, but I just ran it, and it doesn't exit cleanly.

tdowrick commented 3 years ago

In GitLab by @DavidPerez-Suarez on Jan 14, 2019, 11:15

!2 and !4 should close this.

tdowrick commented 3 years ago

In GitLab by @DavidPerez-Suarez on Jan 18, 2019, 15:48

Depends on #34 and !2 and @MianAhmad to get slicer on CI windows machine and docker on linux/mac

tdowrick commented 3 years ago

In GitLab by @DavidPerez-Suarez on Apr 8, 2019, 08:26

removed milestone