O'Reilly logo

Jess in Action: Rule-Based Systems in Java by Ernest Friedman-Hill

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required