|
|
# Writing a Unit Test for a Stage
|
|
|
1. [Regular Unit Test](#regular-unit-test)
|
|
|
1. [Unit Testing with our Stage Testing Framework](#xxx)
|
|
|
1. [Testing a Usual Stage](#regular-unit-test)
|
|
|
1. [Testing a Stage With Multiple Output Ports](#regular-unit-test)
|
|
|
1. [Testing a Producer Stage](#regular-unit-test)
|
|
|
1. [Testing a Sink Stage](#regular-unit-test)
|
|
|
1. [Unit Testing with our Stage Testing Framework](#unit-testing-with-our-stage-testing-framework)
|
|
|
1. [Testing a Usual Stage](#testing-a-usual-stage)
|
|
|
1. [Testing a Stage With Multiple Output Ports](#testing-a-stage-with-multiple-output-ports)
|
|
|
1. [Testing a Producer Stage](#testing-a-producer-stage)
|
|
|
1. [Testing a Sink Stage](#testing-a-sink-stage)
|
|
|
|
|
|
## Regular Unit Test
|
|
|
For a regular unit test of a stage, you need to create and execute a custom configuration which contains your stage under test (SUT), at least one producer to feed your SUT, and at least one sink to collect and test the output elements of your SUT.
|
... | ... | |