wildfly / wildfly-github-bot

GitHub bot for WildFly project.
Apache License 2.0
3 stars 13 forks source link

Fix the tests isolation #59

Closed petrberan closed 1 year ago

petrberan commented 1 year ago

Currently, the way tests work is that PullRequestFormatProcessor instance is used multiple times across several tests. The config initialization happens only once, resulting in the same checks used in tests with no such checks.

See PROpenedTest, where the config from testPullRequestFormatTitleCheckOnOpen() is used in testMentionsCCComment().