Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add integration tests #21

Open
lamr02n opened this issue Sep 24, 2024 · 0 comments
Open

Add integration tests #21

lamr02n opened this issue Sep 24, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@lamr02n
Copy link
Collaborator

lamr02n commented Sep 24, 2024

Summary

To make sure that the first three pipeline stages work as intended, we can set up an integration test.

Basic example

For this, we could have two files, one for input and one for output, where the input file contains a large number of log lines and the output file contains the ones, we manually filtered out (by doing manually what the pipeline should do). Then, we could add a docker container for retrieving the resulting log lines from the Prefilter and write them to a file. At the end, we can compare the files and see if the pipeline got the same result as we calculated. All this could be set up with GitHub Actions.

Motivation

This can serve as an additional test regarding the data preparation phases. Currently, it can happen that changes made to any of the modules lead to bugs we can only see with manual testing. Automated testing would reduce that work and ensure that the first half of the pipeline works as it should.

@lamr02n lamr02n added the enhancement New feature or request label Sep 24, 2024
@lamr02n lamr02n self-assigned this Sep 24, 2024
@stefanDeveloper stefanDeveloper added the good first issue Good for newcomers label Sep 24, 2024
@lamr02n lamr02n changed the title Add integration tests Add integration test Sep 24, 2024
@lamr02n lamr02n changed the title Add integration test Add integration tests Sep 24, 2024
@lamr02n lamr02n added good first issue Good for newcomers and removed good first issue Good for newcomers labels Sep 24, 2024
@stefanDeveloper stefanDeveloper added this to the First heiDGAF version milestone Sep 27, 2024
@lamr02n lamr02n removed this from the First heiDGAF version milestone Nov 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants