Another pet peeve of mine.
[TestCase(1, 42)]
[TestCase(2, 42)]
public void Example(int value1, int value2)
{
Assert.That(value1, Is.LessThan(value2));
}
can be simplified to
[TestCase(1)]
[TestCase(2)]
public void Example(int value1)
{
Assert.That(value1, Is.LessThan(42));
}
This reduces an unnecessary variable, helping you focus on what's important. (If you don't want a literal, you can use a const as opposed to a variable.)