Icon

JKISeason2-23_​sryu

Challenge 23: Testing Your Work
Level: Medium

Description: You and your team are working on a lexicon-based sentiment snalysis application, and created a component that encapsulates the calculation of sentiment scores. This component will be re-used in many workflows, so it is important to make sure that it is behaving correctly. A principled way of accomplishing this is through automated unit testing. Given a sample of the data this component receives as input (input golden data), and a small table with the corresponding expected outputs (output golden data), your goal is to create a workflow that automatically tests this component (testflow). Note: Read more about how to perform testing in KNIME here. Note 2: Read more about lexicon-based sentiment analysis here.

Processing for verification input tableoutput tableNode 6Node 7Node 8Change column typeChange column orderChange value Calculate Scores Table Reader Table Reader CaptureWorkflow Start CaptureWorkflow End Workflow Executor Number To String Column Resorter Component Rule Engine Processing for verification input tableoutput tableNode 6Node 7Node 8Change column typeChange column orderChange value Calculate Scores Table Reader Table Reader CaptureWorkflow Start CaptureWorkflow End Workflow Executor Number To String Column Resorter Component Rule Engine

Nodes

Extensions

Links