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

Assert calculated test task names are distinct between each other for the same test suite #76

Open
lacasseio opened this issue Jan 19, 2022 · 0 comments
Labels
Milestone

Comments

@lacasseio
Copy link
Member

I don't think we make this assertion which we could have something like:

myTestSuite {
    testingStrategies = [new MyCustomStrategyNamed('foo'), new MyOtherCustomStrategyNamed('foo')]
}

Assuming the name passed to the constructor is the Named of the strategy, we would calculate myTestSuiteFoo for both Test tasks. Note that using MyCustomStrategyNamed or MyOtherCustomStrategyNamed twice with the same constructor argument would in theory be a no-op as testingStrategies is a SetProperty and both strategy implementations should implement proper hash code and equals.

We don't believe it's an actual bug but it may become one when solving #70

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant