Calibre Rule Code Testability: The Good The Bad and The Ugly
Writing Calibre rule checks is easy. Writing correct, complete, and efficient checks, however, takes more effort. A well-defined business process for software development is a must to ensure good rule sets. This paper focuses on testability and test development as critical components of this process. It also provides an overview of robust SVRF development practices from understanding the intent of the rule, test case development, code development, code reviews, and maintenance of test cases, documentation, and code for the life of the process node. This paper provides tips and tricks to efficiently develop cases to validate that a rule set checks exactly the required rules, with proper handling of corner cases, to prevent the costly mistakes of false errors or missed real errors. It shares practices wherein a good set of test cases and well-developed plan can help transform code from bad or ugly to good.
Please disable any pop-up blockers for proper viewing of this Whitepaper.