Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Added tests for binder lifecycle extensions #178

Merged

Conversation

LachlanMcKee
Copy link
Collaborator

Description

Added unit tests for binder lifecycle extensions (changelog changes are not needed)

Check list

  • I have updated CHANGELOG.md if required.
  • I have updated documentation if required.

@LachlanMcKee LachlanMcKee force-pushed the add-unit-tests-for-binder-lifecycle branch from dd8c560 to 91d88f1 Compare February 7, 2023 13:24
@LachlanMcKee LachlanMcKee force-pushed the add-unit-tests-for-binder-lifecycle branch from 91d88f1 to a27c254 Compare February 7, 2023 13:35
@@ -1,2 +1,14 @@
config:
warningsAsErrors: true

style:
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copied from Appyx. Some of the test descriptions were too long, but the descriptiveness is required

ArchTaskExecutor.getInstance().setDelegate(null)
}

@Test

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about converting these tests to a parametrised one? I think it would be easier to read and add new cases

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As discussed, I'm happy for you to do this in a follow up PR using junit 5

@LachlanMcKee LachlanMcKee merged commit 97b3a7c into badoo:master Feb 7, 2023
@LachlanMcKee LachlanMcKee deleted the add-unit-tests-for-binder-lifecycle branch February 7, 2023 13:49
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants