StreamBase JUnit tests provide a way to verify that an application module produces the exact expected output for specific input. A StreamBase JUnit test is a Java program that starts StreamBase Server, loads the application module to be tested, sends tuples to the module's input streams, and compares the output emitted from the module's output streams to an expected set of tuples. You can run a StreamBase JUnit test:
Interactively, in StreamBase Studio.
As part of an automated application test script.
To use the StreamBase JUnit test mechanism, you must know how to write Java code, and should be familiar with Java JUnit in general. See StreamBase JUnit Test Tutorial for a step by step tutorial that walks through each step of generating a StreamBase JUnit test for one of the StreamBase samples.