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

feat: Adds mocking/faking of activity logging, and assertions for unit testing. #1237

Closed
wants to merge 1 commit into from

Conversation

robertatcd
Copy link

I make extensive use of this excellent package, but it's always bugged me slightly that I have to disable logging when running unit tests that are tailored to avoid hitting the database.

This update would add a 'fake' feature to mock out the saving of log entries to the database, together with unit-testing assertions about what would have been logged.

@github-actions github-actions bot added the stale label Nov 13, 2023
@github-actions github-actions bot closed this Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant