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

Feature: Add Vitest unit test framework #8

Merged
merged 3 commits into from
Sep 17, 2023
Merged

Conversation

brunomenezes
Copy link
Collaborator

Summary

Add Vitest as our unit test framework. Also, include the first test cases and update the GitHub actions to run the tests.

Changes:

  • Added Vitest as unit test framework
  • Added coverage-v8 module for coverage generation (when passing the --coverage Vitest suggested to install that, so no brainer)
  • Added test cases for the processor focused on createProcessor factory function.

PS: I will create issues for adding tests for the handlers and also one to publish the coverage report with coveralls.

@brunomenezes brunomenezes requested a review from tuler September 15, 2023 02:52
@brunomenezes brunomenezes merged commit ed9a51f into main Sep 17, 2023
1 check passed
@brunomenezes brunomenezes deleted the feature/testing-libs branch September 17, 2023 20:09
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