opensafely-core / opensafely-core/opencodelists

Allow `test_build_codelist.py` to run in isolation

Open Beginner friendly
#2,617 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
60
Forks
16
Avg merge
4d 12h
Merged PRs (30d)
17

Description

Why are we doing this?

One of the functional test files can't currently be run in isolation.

How will we know when it's done?

The command just test-functional opencodelists/tests/functional/test_build_codelist.py succeeds.

What are we doing?

Changing the opencodelists/tests/functional/test_build_codelist.py file so that it can be run by itself, rather than just as part of just test-functional.

Contributor guide

No contributing guide indexed for this repository

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 running just test-functional opencodelists/tests/functional/test_build_codelist.py and inspect opencodelists/tests/functional/test_build_codelist.py to identify why it depends on the full functional suite. Done means that the command succeeds when the file is run by itself.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing-qa
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.