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

rules-test-rc5 #571

Merged
merged 3 commits into from
Nov 27, 2017
Merged

rules-test-rc5 #571

merged 3 commits into from
Nov 27, 2017

Conversation

schalkms
Copy link
Member

@schalkms schalkms commented Nov 24, 2017

If multiple it test cases in the same given or describe function have the same name only one of them gets executed.
I think detekt should have a rule for this problem.

Two test cases had the same name, where one test case was not executed.
The Default.kt file was refactored because there were to many different
rule violations in it.
Copy link
Member

@arturbosch arturbosch left a comment

Choose a reason for hiding this comment

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

Good idea about the spek rule. One spek rule is enough to enable it in detekt itself to check if extensions always work 👍

@schalkms
Copy link
Member Author

@arturbosch Which test case do you mean?

@arturbosch arturbosch merged commit 2c25892 into detekt:master Nov 27, 2017
@arturbosch
Copy link
Member

I meant the rule from #572 which now is unclear if we will implement it.

@arturbosch arturbosch added this to the RC5-6 milestone Nov 27, 2017
@schalkms schalkms deleted the rules-test-rc5 branch December 18, 2017 16:57
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.

None yet

3 participants