review classifier: presentational layout math needs no test
tests-with-behaviour now counts a small UI helper that only maps a value to a position, size or colour that CSS draws as thin glue, like component wiring.
This commit is contained in:
parent
0ae6b911ac
commit
db036f076f
1 changed files with 4 additions and 1 deletions
|
|
@ -49,7 +49,10 @@ classifications:
|
||||||
match, and neither does a bug fix with no regression test. Thin glue
|
match, and neither does a bug fix with no regression test. Thin glue
|
||||||
needs no test of its own: UI component wiring, JSX or markup, a
|
needs no test of its own: UI component wiring, JSX or markup, a
|
||||||
routing table, registering an event listener, re-exporting, or
|
routing table, registering an event listener, re-exporting, or
|
||||||
calling a function that is already tested. A diff whose changed files
|
calling a function that is already tested. So does presentational
|
||||||
|
layout math: a small helper in UI code that only maps a value to a
|
||||||
|
position, size or colour that CSS then draws, such as the place of a
|
||||||
|
slider's zone edge. A diff whose changed files
|
||||||
are all test code (a fixture under `nix/module-eval/`,
|
are all test code (a fixture under `nix/module-eval/`,
|
||||||
`nix/checks.nix`, a crate's `tests/` directory, or Rust inside
|
`nix/checks.nix`, a crate's `tests/` directory, or Rust inside
|
||||||
`#[cfg(test)]` or a `#[test]` function) changes no behaviour: the
|
`#[cfg(test)]` or a `#[test]` function) changes no behaviour: the
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue