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

test: add unit tests and code coverage #59

Merged
merged 9 commits into from
Oct 25, 2023

Conversation

pratikjagrut
Copy link
Collaborator

@pratikjagrut pratikjagrut commented Oct 4, 2023

Description
This pull request (PR) introduces comprehensive unit tests and code coverage analysis to improve the reliability and maintainability of the codebase. The goal is to ensure that existing functionality is thoroughly tested and to monitor code coverage to identify areas that may need additional testing or refactoring.

Test Locally
This step is prerequisite, need to be run only once.

sudo apt update && sudo apt install -y jq pkg-config libelf-dev clang
make ebpf

make unit-test OR make coverage For running tests and opening generated code coverage report in browser.

@pratikjagrut pratikjagrut force-pushed the add.test branch 8 times, most recently from 78b7979 to e683a5c Compare October 4, 2023 06:14
@codecov
Copy link

codecov bot commented Oct 4, 2023

Welcome to Codecov 🎉

Once merged to your default branch, Codecov will compare your coverage reports and display the results in this comment.

Thanks for integrating Codecov - We've got you covered ☂️

@pratikjagrut pratikjagrut force-pushed the add.test branch 3 times, most recently from b817a86 to 4789fb1 Compare October 5, 2023 08:29
@pratikjagrut pratikjagrut force-pushed the add.test branch 10 times, most recently from baf1b10 to 7e567bb Compare October 12, 2023 09:10
@pratikjagrut pratikjagrut force-pushed the add.test branch 4 times, most recently from 9ddf1e9 to d4acc97 Compare October 17, 2023 09:22
@pratikjagrut pratikjagrut marked this pull request as ready for review October 17, 2023 11:01
@pratikjagrut pratikjagrut force-pushed the add.test branch 2 times, most recently from fa05050 to e655509 Compare October 18, 2023 07:25
andylibrian
andylibrian previously approved these changes Oct 21, 2023
Makefile Show resolved Hide resolved
@pratikjagrut pratikjagrut merged commit 163225d into kube-tarian:main Oct 25, 2023
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants