A unit test is a deterministic verification that an application produces the exact expected output for specific input.
You can develop and run unit tests for StreamBase modules and applications to confirm that they return the expected result tuples given known input streams. You create unit tests in StreamBase Studio by recording the input and output streams of a running application and saving the results. Saving a test recording gives you feed simulations representing input data, validation CSV files representing output data, and a test configuration file to tie them together as a unit test. You can later run the test in Studio or from the command line with the sbtest command to confirm that your module is still performing as expected.
You can edit saved tests in Studio with the Test Editor, or create new tests from scratch as an alternative to recording your application.
