Documentation Home
MySQL Internals Manual


MySQL Internals Manual  /  ...  /  Complicated test Architecture or Tricky Code

26.2.1 Complicated test Architecture or Tricky Code

If your test is very complicated, write a sufficient explanation of the test architecture. This helps avoid having someone else come along and unintentially change the test in ways that:

  • Shift the goal of the check

  • Destroy your test architecture

  • etc.

Comment your code when you do or check something that someone else may think is not trivial. Please write what you intend to check if it is not obvious.