Fistron docs

fistron.io

Keep the register of broken tests

The register lists every test of the project that is or was broken: when it first and last failed, how many of its runs failed in the CI history the audits read, the build it is still failing since, its cause and the layer it is fixed in, its issue, its owner and its state. Each change says who made it and when.

Fistron keeps it up to date. Each Daily CI review, quality audit, analysis of a failed build and proposed fix that reaches the control plane updates it, whoever started it: a person, a pipeline or a schedule.

State Means
new it failed in a Daily CI review and was not in the register
broken it failed in half of its runs or more in an audit, or failed again after it passed
investigated the analysis of a failed build concluded its cause
fix proposed a fix of its cause or a repair of the test was proposed
fix merged a person said the fix is merged
waived a waiver of the review covers its failure; its issue is shown
retired a person retired it, saying why
dismissed a person said it is not a broken test, saying why
passing again the newest build that ran it passed

Fistron never takes a test out of a state a person set (fix merged, retired, dismissed): only a person changes it again.

Before you start

Read the register

  1. Open QA failures › Broken tests. At the top the register at a glance: the open tests of all of them with a ring of their states (broken, on the way to a fix, fixed, set aside), how many have a cause and an issue, their failures, the open tests by the week they first failed and by feature.
  2. The open tests are shown first. Choose Closed for the retired, dismissed and passing tests, or All. Each says how many tests it holds (“Open (53)”), and the line beside them how many the table shows.
  3. Open a test’s row to see what changed in it, the newest first.

What the columns say:

A project with reviews and audits from before the register: choose Read the project’s documents from before. Fistron reads its newest 200, the oldest first, each once. The audits and causes among them that were read before are read again, for their counts, dates and causes: a register made by an older Fistron gains them. A review is never read twice: its failures would count twice.

In the order your team decided

The tests are listed in the order of the work: Fistron’s rule (the open ones first, then what the team’s priorities name, the most failed builds, the newest failure), which the team can change, and the moves of single tests with their reasons. Move it under a test, Change the rule and Confirm this order work as on The audit (use-quality-audit.md).

Change a test

  1. Open the test’s row.
  2. Set its Owner, choose a State, or write a Note. A retired or dismissed test says why.
  3. Choose Save the change. The change is said in the test’s history with your name.

Where else it shows

Export it

Choose Download as CSV: one row per test with its jobs, first and last failure, last pass, failures, cause, layer, issue, owner and reason.

From the command line

fistron broken-tests updates a register from the documents you give it and writes it as JSON and CSV (broken-tests.md).