streampipes icon indicating copy to clipboard operation
streampipes copied to clipboard

Implement unit tests for pipeline element 'ValueChangeProcessor'

Open bossenti opened this issue 1 year ago • 4 comments

This issue is about implementing unit tests for our pipeline element VlaueChangeProcessor. 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.

bossenti avatar Sep 09 '23 08:09 bossenti

Hi @RobertIndie I would like to work on this issue.Kindly assign and help me get started

shreya024 avatar Oct 02 '23 10:10 shreya024

Hi @shreya024 , great that you want to work on this. As a first step, I would recommend that you check out the repository and have a look at the sample unit tests that are linked in the issue. You can try running them first in your IDE, and then start with the implementation for the unit test for the [ValueChangeProcessor].(https://github.com/apache/streampipes/blob/752289c6acfc8fa10398c920d678c5c02143ed5c/streampipes-extensions/streampipes-processors-enricher-jvm/src/main/java/org/apache/streampipes/processors/enricher/jvm/processor/valuechange)

Please let me know if you need further assistance. Cheers, Tim

bossenti avatar Oct 02 '23 10:10 bossenti

Hi @shreya024 , great that you want to work on this. As a first step, I would recommend that you check out the repository and have a look at the sample unit tests that are linked in the issue. You can try running them first in your IDE, and then start with the implementation for the unit test for the [ValueChangeProcessor].(https://github.com/apache/streampipes/blob/752289c6acfc8fa10398c920d678c5c02143ed5c/streampipes-extensions/streampipes-processors-enricher-jvm/src/main/java/org/apache/streampipes/processors/enricher/jvm/processor/valuechange)

Please let me know if you need further assistance. Cheers, Tim

Hey @bossenti, I have gone through the repo. Should I create a new test folder with similar directory structure to write the test cases into?

shreya024 avatar Oct 03 '23 01:10 shreya024

@shreya024 yes that's fine Please stay consistent with the directory structure of the source code 🙂

bossenti avatar Oct 03 '23 06:10 bossenti