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 tests #15

Closed
sitzz opened this issue Nov 10, 2024 · 1 comment · Fixed by #17
Closed

Add tests #15

sitzz opened this issue Nov 10, 2024 · 1 comment · Fixed by #17
Labels
enhancement New feature or request
Milestone

Comments

@sitzz
Copy link
Owner

sitzz commented Nov 10, 2024

  • Implement tests using pytest.
  • Implement "FakeCouchbase" session class for CI/CD and/or git hook testing.
@sitzz sitzz linked a pull request Nov 30, 2024 that will close this issue
@sitzz
Copy link
Owner Author

sitzz commented Dec 1, 2024

Issue has grown a bit.. so I have basically created a fake Couchbase package which I'm aligning with the real package, so that all internals of the Couchbase helper package can be tested without having a Couchbase cluster.

Rather satisfying to catch issues in the code this way, so I'm assuming I'll be making a lot of adjustments to the fake class over time as tests are added and the fake class fails. Very valuable experience!

Follow #17 for details, will likely not bother updating here too.

@sitzz sitzz added this to the v0.1.0 milestone Dec 1, 2024
@sitzz sitzz added the enhancement New feature or request label Dec 1, 2024
@sitzz sitzz closed this as completed in #17 Dec 2, 2024
This was referenced Dec 2, 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

Successfully merging a pull request may close this issue.

1 participant