apmec-horizon/HACKING.rst
zhouxinyong 72e18284b2 Replacing the link in HACKING.rst
Change-Id: If0c418679eb77550ef8f793fa9b309974cb45dd7
2018-11-15 20:44:04 +08:00

680 B

Apmec Style Commandments

Apmec Specific Commandments

  • [N320] Validate that LOG messages, except debug ones, have translations

Creating Unit Tests

For every new feature, unit tests should be created that both test and (implicitly) document the usage of said feature. If submitting a patch for a bug that had no unit test, a new passing unit test should be added. If a submitted bug fix does have a unit test, be sure to add a new one that fails without the patch and passes with the patch.