JUnit TestCase
[Previous] [Main] [Next]

JUnit TestCase

Whenever JGuiGen generates a panel, it also generates a corresponding JUnit TestCase program. The jfcUnit extension is being used to help JUnit gain access to the components in the JxFrame generated by JGuiGen.

By default, ID number 1 in the database is reserved for JGuiGen. This row is inserted by the JUnit TestCase program and filled with sample data. When the TestCase program finishes, it deletes this row.

While there is considerable work to be done in this area, here is a sample screen that demonstrates the output of the TestCase program.

TestCase Output