apache / streampipes

Apache StreamPipes - A self-service (Industrial) IoT toolbox to enable non-technical users to connect, analyze and explore IoT data streams.
https://streampipes.apache.org
Apache License 2.0
587 stars 175 forks source link

Implement unit tests for pipeline element 'WelfordChangeDetection' #1885

Open bossenti opened 11 months ago

bossenti commented 11 months ago

This issue is about implementing unit tests for our pipeline element WelfordChangeDetecion. An example of how to write unit tests for pipeline elements can be found here.

Mentoring

As this issue is marked as a good first issue and for the hacktoberfest event: one of @dominikriemer, @tenthe, @RobertIndie, or @bossenti are happy to provide help for getting started, just tag (one of) them if you want to start working on this issue and need some help.

subhajit20 commented 11 months ago

@bossenti hey want to help. can you give some more details abut this issue and how to write the test?

bossenti commented 11 months ago

Hey @subhajit20,

glad to see your interest in contributing! What kind of information do you need? I think the best way to approach this task is to have a look at the WelfordChangeDetection processing element, understand the underlying logic, and then write tests for it. Some exemplary unit tests are linked in the description above 🙂