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 unit tests for lib/util.js #1

Merged
merged 5 commits into from May 9, 2023
Merged

Add unit tests for lib/util.js #1

merged 5 commits into from May 9, 2023

Conversation

gendelbendel
Copy link
Owner

@gendelbendel gendelbendel commented May 9, 2023

Commits:

  • Phase 1: Initial phase, already committed before this pull request. Empty skeleton tests.
  • Phase 2: Add basic unit tests that we believe should pass. These are trivial and not quite catered to our use case.
  • Phase 3: Add unit tests with the observed behavior failing
  • Phase 4: Add more unit tests, to explore functionality across multiple other use cases, including different data types with their expected behaviors. No more failures observed.
  • Phase 5: Add more unit tests, in which more failures begin to occur. It revolves around duplicate entries, so we've found the bug.
  • Phase 6: Fix the bug, observe all tests passing.

@gendelbendel gendelbendel changed the title Add unit tests Add unit tests for lib/util.js May 9, 2023
@gendelbendel gendelbendel merged commit d51223b into main May 9, 2023
1 check passed
@gendelbendel gendelbendel deleted the add-unit-tests branch May 9, 2023 08:00
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.

None yet

1 participant