# \#testing

**URL:** https://discourse.slicer.org/tag/testing/230.md

[Latest](https://discourse.slicer.org/latest.md) · [Categories](https://discourse.slicer.org/categories.md) · [Tags](https://discourse.slicer.org/tags.md)

---

## [Need CT scans with leksell localizer for validating the transformation to leksell frame co-ordinates in my extension](https://discourse.slicer.org/t/need-ct-scans-with-leksell-localizer-for-validating-the-transformation-to-leksell-frame-co-ordinates-in-my-extension/48116)

<div class="topic-metadata">

**Author:** [@Victor\_Wayne](https://discourse.slicer.org/u/Victor_Wayne)\
**Replies:** 0\
**Last updated:** [September 11, 2026, 5:34am UTC](https://discourse.slicer.org/t/need-ct-scans-with-leksell-localizer-for-validating-the-transformation-to-leksell-frame-co-ordinates-in-my-extension/48116 "2026-09-11T05:34:11Z")

</div>

Hi, I am working on an extension in which I have to convert the volumes from RAS co-ordinate system to leksell frame’s XYZ co-ordinate system. I need test data validate my transformation logic. Is there any place where …

---

## [Testing dashboard shows no tests executed when filtering is used](https://discourse.slicer.org/t/testing-dashboard-shows-no-tests-executed-when-filtering-is-used/47144)

<div class="topic-metadata">

**Author:** [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Replies:** 5\
**Last updated:** [May 28, 2026, 2:12pm UTC](https://discourse.slicer.org/t/testing-dashboard-shows-no-tests-executed-when-filtering-is-used/47144 "2026-05-28T14:12:31Z")

</div>

Hi all, I wanted to look at the test results of some extensions today. First I thought that the factory machine does not run any tests, because filtering on SlicerRT I saw this (and I know the extension has around 70 te…

---

## [Timestamps in the testing dashboard are inconsistent](https://discourse.slicer.org/t/timestamps-in-the-testing-dashboard-are-inconsistent/46815)

<div class="topic-metadata">

**Author:** [@MaxHoges](https://discourse.slicer.org/u/MaxHoges)\
**Replies:** 0\
**Last updated:** [April 23, 2026, 11:50am UTC](https://discourse.slicer.org/t/timestamps-in-the-testing-dashboard-are-inconsistent/46815 "2026-04-23T11:50:30Z")

</div>

I was just checking out the testing dashboard and noticed that the timestamps in the build overview table don’t match with the timestamps Ince you click through to more details on the build. For example, here’s the view…

---

## [How to download markups as sample data](https://discourse.slicer.org/t/how-to-download-markups-as-sample-data/36029)

<div class="topic-metadata">

**Author:** [@DavidM](https://discourse.slicer.org/u/DavidM)\
**Replies:** 2\
**Last updated:** [May 10, 2024, 1:30am UTC](https://discourse.slicer.org/t/how-to-download-markups-as-sample-data/36029 "2024-05-10T01:30:13Z")

</div>

Hi, I am trying to create tests for a module I’m developing and as part of the test I’m using sampledata. I’m unable to download and import markup fiducial files (mrk.json) but have no issues with stl or vtp files. My c…

---

## [Incorporating data acquisition in python automated test](https://discourse.slicer.org/t/incorporating-data-acquisition-in-python-automated-test/11844)

<div class="topic-metadata">

**Author:** [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Replies:** 2\
**Last updated:** [June 3, 2020, 2:12pm UTC](https://discourse.slicer.org/t/incorporating-data-acquisition-in-python-automated-test/11844 "2020-06-03T14:12:31Z")

</div>

Hi all, I am writing an automated workflow test that is supposed to collect some data at times. This would mean that at certain points in the test, I “let it run” until it collects a certain seconds of replayed tracked …

---

## [Call a widget's methods in Python](https://discourse.slicer.org/t/call-a-widgets-methods-in-python/33416)

<div class="topic-metadata">

**Author:** [@jhlegarreta](https://discourse.slicer.org/u/jhlegarreta)\
**Replies:** 3\
**Last updated:** [December 17, 2023, 11:57am UTC](https://discourse.slicer.org/t/call-a-widgets-methods-in-python/33416 "2023-12-17T11:57:15Z")

</div>

Hello, For the purposes of building a test, I am wondering whether there is a way to instantiate and call the methods from a class that inherits from qSlicerWidget​ (e.g. qSlicerTractographyDisplayWidget​, which lives i…

---

## [External dependency import failing in DiffusionQC Python test](https://discourse.slicer.org/t/external-dependency-import-failing-in-diffusionqc-python-test/32645)

<div class="topic-metadata">

**Author:** [@jhlegarreta](https://discourse.slicer.org/u/jhlegarreta)\
**Replies:** 0\
**Last updated:** [November 7, 2023, 4:55pm UTC](https://discourse.slicer.org/t/external-dependency-import-failing-in-diffusionqc-python-test/32645 "2023-11-07T16:55:41Z")

</div>

Hi, I’ve noticed that the DiffusionQC extension module’s test has been failing for a while: CDash also mentioned in: Fix import errors by lassoan · Pull Request #47 · pnlbwh/SlicerDiffusionQC · GitHub And this happe…

---

## [Fixing extension testing failures](https://discourse.slicer.org/t/fixing-extension-testing-failures/32584)

<div class="topic-metadata">

**Author:** [@jhlegarreta](https://discourse.slicer.org/u/jhlegarreta)\
**Replies:** 2\
**Last updated:** [November 6, 2023, 12:10am UTC](https://discourse.slicer.org/t/fixing-extension-testing-failures/32584 "2023-11-06T00:10:11Z")

</div>

Hi, there are a number of tests in the SlicerDMRI extension build that I would like to fix: CDash Some of them (e.g. py\_TractographyExportPLY, py\_TractographyDownsample) report a short message saying \[/Users/svc-dash…

---

## [Testing without launching graphical components](https://discourse.slicer.org/t/testing-without-launching-graphical-components/32506)

<div class="topic-metadata">

**Author:** [@jhlegarreta](https://discourse.slicer.org/u/jhlegarreta)\
**Replies:** 2\
**Last updated:** [October 31, 2023, 8:34pm UTC](https://discourse.slicer.org/t/testing-without-launching-graphical-components/32506 "2023-10-31T20:34:15Z")

</div>

Hi, I am trying to set up a GHA workflow to test the SlicerDMRI extension. ctest is effectively finding and triggering the tests so far: ENH: Test build · SlicerDMRI/SlicerDMRI@576ae7c · GitHub However, as I’ve realiz…

---

## [Running Python tests automatically](https://discourse.slicer.org/t/running-python-tests-automatically/32426)

<div class="topic-metadata">

**Author:** [@jhlegarreta](https://discourse.slicer.org/u/jhlegarreta)\
**Replies:** 0\
**Last updated:** [October 26, 2023, 4:12pm UTC](https://discourse.slicer.org/t/running-python-tests-automatically/32426 "2023-10-26T16:12:56Z")

</div>

Hi, I am trying to figure out why some of the Python tests in an extension are not being executed following: COMP: Update GHA workflow ensuring Slicer is built with NumPy support by jcfr · Pull Request #179 · SlicerDMR…

---

## [Slicer Coverage Testing?](https://discourse.slicer.org/t/slicer-coverage-testing/28764)

<div class="topic-metadata">

**Author:** [@hannahm](https://discourse.slicer.org/u/hannahm)\
**Replies:** 6\
**Last updated:** [April 11, 2023, 7:36am UTC](https://discourse.slicer.org/t/slicer-coverage-testing/28764 "2023-04-11T07:36:40Z")

</div>

I know there have previous discussions about using the coverage python module with scripted modules (How to generate a test coverage report for scripted module?), but I was wondering if there was any additional thought t…

---

## [Implementing PyTest-qt](https://discourse.slicer.org/t/implementing-pytest-qt/28096)

<div class="topic-metadata">

**Author:** [@hannahm](https://discourse.slicer.org/u/hannahm)\
**Replies:** 12\
**Last updated:** [March 2, 2023, 1:30pm UTC](https://discourse.slicer.org/t/implementing-pytest-qt/28096 "2023-03-02T13:30:06Z")

</div>

Are we able to implement PyTest-qt into our custom slicer app? I don’t know all of the discrepancies associated with the licensing but I would like to implement it to be able to run GUI based tests.

---

## [How to generate a test coverage report for scripted module?](https://discourse.slicer.org/t/how-to-generate-a-test-coverage-report-for-scripted-module/20714)

<div class="topic-metadata">

**Author:** [@pll\_llq](https://discourse.slicer.org/u/pll_llq)\
**Replies:** 7\
**Last updated:** [November 26, 2021, 8:15am UTC](https://discourse.slicer.org/t/how-to-generate-a-test-coverage-report-for-scripted-module/20714 "2021-11-26T08:15:44Z")

</div>

The title says it all. Is there a way to generate a test coverage report based on the contents of the ScriptedLoadableModuleTest class contents in a scripted module?

---

## [Automatic test with --disable-cli-modules doesn't load dependencies](https://discourse.slicer.org/t/automatic-test-with-disable-cli-modules-doesnt-load-dependencies/20478)

<div class="topic-metadata">

**Author:** [@simonoxen](https://discourse.slicer.org/u/simonoxen)\
**Replies:** 1\
**Last updated:** [November 4, 2021, 3:37am UTC](https://discourse.slicer.org/t/automatic-test-with-disable-cli-modules-doesnt-load-dependencies/20478 "2021-11-04T03:37:24Z")

</div>

Automatic tests use the --disable-cli-modules flag and the --additional-module-paths specifying cli modules. This reuslts however in the cli modules not being loaded (and thus the test failing for modules which depend on…

---

## [Unit tests for command line and loadable modules](https://discourse.slicer.org/t/unit-tests-for-command-line-and-loadable-modules/14265)

<div class="topic-metadata">

**Author:** [@Mik](https://discourse.slicer.org/u/Mik)\
**Replies:** 0\
**Last updated:** [October 27, 2020, 8:06am UTC](https://discourse.slicer.org/t/unit-tests-for-command-line-and-loadable-modules/14265 "2020-10-27T08:06:04Z")

</div>

Couple of questions about testing: Are there any unit tests recommendations for command line interface and loadable modules? How to use Slicer test data (md5 checksum file), if command line module needs CT data as an i…

---

## [Test errors in CDash](https://discourse.slicer.org/t/test-errors-in-cdash/13932)

<div class="topic-metadata">

**Author:** [@Alex\_Vergara](https://discourse.slicer.org/u/Alex_Vergara)\
**Replies:** 0\
**Last updated:** [October 8, 2020, 12:53pm UTC](https://discourse.slicer.org/t/test-errors-in-cdash/13932 "2020-10-08T12:53:41Z")

</div>

Recently I have reported some test failing in CDash. The main error is ====================================================================== ERROR: runTest (Dosimetry4DTest.Dosimetry4DTest) ---------------------------…

---

## [Does SlicerRT do pixel level testing of RT Struct loading?](https://discourse.slicer.org/t/does-slicerrt-do-pixel-level-testing-of-rt-struct-loading/11319)

<div class="topic-metadata">

**Author:** [@pieper](https://discourse.slicer.org/u/pieper)\
**Replies:** 2\
**Last updated:** [April 28, 2020, 1:17pm UTC](https://discourse.slicer.org/t/does-slicerrt-do-pixel-level-testing-of-rt-struct-loading/11319 "2020-04-28T13:17:40Z")

</div>

Hi - We are adding RT display support to OHIF and are planning testing strategy (just display of structs from tcia for now). We are hoping to emulate what SlicerRT does in this regard. The question came up as to wheth…

---

## [Docker image for \`nightly-master\`](https://discourse.slicer.org/t/docker-image-for-nightly-master/8273)

<div class="topic-metadata">

**Author:** [@unnmdnwb3](https://discourse.slicer.org/u/unnmdnwb3)\
**Replies:** 5\
**Last updated:** [September 23, 2019, 8:32pm UTC](https://discourse.slicer.org/t/docker-image-for-nightly-master/8273 "2019-09-23T20:32:08Z")

</div>

Hello everyone, We’d like to introduce a new docker image unnmdnwb3/slicer3d-nightly, which offers an environment to test extensions for Slicer 4.11.x (which supports Python 3 ). The image is based on Slicer’s branch ni…

---

## [Tests failing in docker container in no window mode](https://discourse.slicer.org/t/tests-failing-in-docker-container-in-no-window-mode/8357)

<div class="topic-metadata">

**Author:** [@Alex\_Vergara](https://discourse.slicer.org/u/Alex_Vergara)\
**Replies:** 2\
**Last updated:** [September 12, 2019, 11:59am UTC](https://discourse.slicer.org/t/tests-failing-in-docker-container-in-no-window-mode/8357 "2019-09-12T11:59:58Z")

</div>

I am testing my extensions in a docker container and I have messages like this one 1: Traceback (most recent call last): 1: File "/usr/src/Slicer-build/Slicer-build/lib/Slicer-4.11/qt-scripted-modules/DICOM.py", line …

---

## [GLSL shaders use non supported version 1.50 that makes CI/CD to fail in a docker container](https://discourse.slicer.org/t/glsl-shaders-use-non-supported-version-1-50-that-makes-ci-cd-to-fail-in-a-docker-container/8307)

<div class="topic-metadata">

**Author:** [@Alex\_Vergara](https://discourse.slicer.org/u/Alex_Vergara)\
**Replies:** 2\
**Last updated:** [September 5, 2019, 12:47pm UTC](https://discourse.slicer.org/t/glsl-shaders-use-non-supported-version-1-50-that-makes-ci-cd-to-fail-in-a-docker-container/8307 "2019-09-05T12:47:26Z")

</div>

@lassoan, @cpinter, we are trying to test our extension in a docker container as described by @unnmdnwb3 in this thread. However, the test fails when executing slicer with these errors. Basically the VTK version that i…

---

## [Test extension in Docker](https://discourse.slicer.org/t/test-extension-in-docker/8120)

<div class="topic-metadata">

**Author:** [@unnmdnwb3](https://discourse.slicer.org/u/unnmdnwb3)\
**Replies:** 14\
**Last updated:** [August 30, 2019, 12:40pm UTC](https://discourse.slicer.org/t/test-extension-in-docker/8120 "2019-08-30T12:40:38Z")

</div>

Hello everyone, I’d like to set up a CI-pipeline with Gitlab CI, which should enable continuous testing of our extension (in python). However, it’s not quite obvious to me which dependencies I therefore have to integrat…
