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: refactored tests #389

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

fredbi
Copy link
Collaborator

@fredbi fredbi commented Oct 2, 2023

A proposal for improving the readability of unit tests, indulding into 1 test dependency.

Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
* enabled linting check in CI (github action)

Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
@fredbi fredbi changed the title Test/refactor tests WIP Test/refactor tests Oct 2, 2023
* focused on test readability
* generalized usage of sub-tests
* reduced the need for test helpers
* introduced test dependency: github.com/stretchr/testify

Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
@fredbi fredbi changed the title WIP Test/refactor tests test: refactored tests Oct 8, 2023
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.

1 participant