mozilla / mozilla/bugbug

Use the gtest/cppunit/rusttests heuristic also for local test selection

Open
#6,011 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
570
Forks
351
Avg merge
2d 13h
Merged PRs (30d)
65

Description

We have to figure out how to do it, but it can be really helpful.

The heuristic was introduced in https://github.com/mozilla/bugbug/pull/6002.

In the local case, we want only the relevant tests though, not all of gtest/cppunit/rusttests.

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 reading pull request 6002, where the gtest/cppunit/rusttests heuristic was introduced, then trace how local test selection is performed. The work is done when local selection applies the heuristic to identify only relevant tests rather than all tests in those groups.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing-qa
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.