JMRI: LogixNG Documentation
Author: Daniel Bergqvist
Keywords: logixng model railroad JMRI LogixNG PanelPro

# Unit testing of LogixNG

## Goals for unit testing of LogixNG

There are two main goals with the code that is testing LogixNG.

- The entire code must be tested completely, including every branch. This means that on the coverage report, both "Missed Instructions" and "Missed Branches" should be zero for every class in LogixNG. This goal is impossible to reach entirely, but whenether possible, this goal must be acheived.
- The tests must be as close as possible to "real world" testing. The testing infrastructure must test the code as realistically as possible.