Test-Framework for TeeTime
As I mentioned already in some discussions with Christian, it is difficult to test a single TeeTime stage. I have to add at least two further stages, some more pipes and put all of this in a configuration class - just to test a single component. In order to avoid this, I developed a (very) small test-framework for my use case. Maybe the code could be modified and enhanced to a full test-framework.
Usually I just want to send specific input data to the stage and check the outcoming results.
final TraceReconstructor reconstructor = new TraceReconstructor(); List<Trace> result = testStageBySending(records).to(reconstructor.getInputPort()).andReceivingFrom(reconstructor.getOutputPort());
I would gladly provide the "framework".