KitwareMedical / KitwareMedical/SlicerPythonTestRunner

Decorators should be compatible with no call syntaxe

Open
#10 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
3
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Currently decorating a method `runTestInSlicerContext` without call args will incorrectly mark the test as successfully run when run from the Slicer widget env.

Contributor guide

Open the contributing guide

Research direction

Locate the decorator applied to runTestInSlicerContext and inspect how it behaves when used without call arguments. Reproduce the case from the Slicer widget environment and verify that the test is not reported as successfully run unless it actually executes; add or update regression coverage where the existing tests for this decorator are located.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.