refactor the test suite to make more specifc test files

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

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
testing-qa

Research direction

Start by reading the long test_ndcube.py file and identify its existing test sections. Separate the tests into more specific files, including sections for crop and reproject_to as suggested. Done means the test suite is organized into discoverable files while preserving its existing coverage and behavior.

Written by the indexing model from the issue text.

Description

At the moment the test_ndcube.py file is very long and it would make tests easier to find if it were split into sections, i.e. a crop file and a reproject_to file etc.

Dominant language
Python
Stars
49
Forks
56
Avg merge
5h 54m
Merged PRs (30d)
9

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.

More from sunpy/ndcube

All issues in sunpy/ndcube

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.