Appendix C. An automated testing framework

When you’re doing iterative development, automated testing gives you confidence that each addition or modification does not introduce errors into a previously working program. You make a change, you run your tests, and you find out immediately whether your changes broke the existing code. Having a good suite of automated tests that you can run quickly and easily helps you write better code more quickly.

This is as true for rule-based programming as it is for any other kind. Whether I’m working on extensions to Jess or writing rule-based programs, I find that automated testing helps keep the quality of the software I write as high as it can be. In this appendix, I’ll describe a framework I use to write ...

Get Jess in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.