NCAS-CMS / NCAS-CMS/cf-plot

Deflect pop-up plot windows during testing

Open
#132 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

testing
Dominant language
Python
Stars
21
Forks
11
Avg merge
7h 11m
Merged PRs (30d)
1

Description

When running the test suite or a sub-set of it, the generated plots often open in windows, as would be expected from interactive or script use, but which becomes annoying for working whist the test suite is running because those windows require manual closing and this interferes with other work to do whilst waiting for the results.

We should programatically check that any graphical windows for plots will open as an important part of testing, but without the windows actually being opened for the tester to have to close.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the plot-generation tests and the plotting or graphical-backend setup they exercise. Run the full test suite or a relevant subset to reproduce the windows. Done means plotting behavior is still checked while no graphical windows require manual closing during tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-visualization, testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.