Optionally fail for slow tests

Open
#235 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python

Research direction

Start by locating the template's CI and test configuration, then compare the linked projects' slow-test handling. Done means generated projects can optionally enable a configurable failure threshold for slow unit tests without affecting projects that leave the option disabled.

Written by the indexing model from the issue text.

Description

In a number of projects we are adding in CI that will fail unit tests if they take longer than X e.g.

Given this is used by lots of different repos we should put it in the template for people to use optionally.

Dominant language
Jinja
Stars
28
Forks
10
Avg merge
3d 4h
Merged PRs (30d)
4

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

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 DiamondLightSource/python-copier-template

All issues in DiamondLightSource/python-copier-template

Similar issues

More DevOps issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.