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

Build: Simple unit tests about UserCallbackPlugin #1639

Merged
merged 1 commit into from
Feb 9, 2024

Conversation

buhtz
Copy link
Member

@buhtz buhtz commented Feb 8, 2024

Unit tests to UserCallbackPlugin (behavior coverage incomplete).

In short: These tests simply testing if the callback() method is called with the correct values (reason code for example).

This is a side-product of my investigation about the plugin manager and user-callback in context of PR #1269. The value of that tests is low and they are not robust against refactoring. I added some thoughts and learning's into the code comments.

I tried to not to touch the productive code. Because of that there are some not so nice workarounds in the test code.

More comments in PR #1269.

@buhtz buhtz merged commit 2349c31 into bit-team:dev Feb 9, 2024
1 check passed
@buhtz buhtz deleted the unittest/1269usercallback branch February 9, 2024 16:28
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