-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Harmonize naming of discipline test classes in cats-kernel-laws. #1960
Harmonize naming of discipline test classes in cats-kernel-laws. #1960
Conversation
Thanks for fixing this. |
Thanks @denisrosset. |
Hi @peterneyens, I'm going to move As I'm not very much involved with cats, I have no opinion of what should be done outside of the Note: the build failed because I forgot to rename some imports (and it was not caught by the tests on my machine). Should be corrected. |
I thought about renaming all For this PR, it's merely to bring the tests in |
Why not use e.g. |
- Renames tests in `cats.tests` package with the "Suite" suffix, according to typelevel#1960 and typelevel#1965.
* Unifies tests naming standard - Renames tests in `cats.tests` package with the "Suite" suffix, according to #1960 and #1965. * Removes laws import aliases * Deletes more import alias - The previous commit resolved some conflicting files. Also, test classes in `cats.jvm` and `cats.free` packages were renamed to use the `XXXXSuite` naming convention. - Deleted some import aliases to `cats.kernel.laws.discipline` classes
* Unifies tests naming standard - Renames tests in `cats.tests` package with the "Suite" suffix, according to typelevel#1960 and typelevel#1965. * Removes laws import aliases * Deletes more import alias - The previous commit resolved some conflicting files. Also, test classes in `cats.jvm` and `cats.free` packages were renamed to use the `XXXXSuite` naming convention. - Deleted some import aliases to `cats.kernel.laws.discipline` classes
The naming scheme of the discipline test classes is inconsistent:
SemigroupLawTests
butCommutativeSemigroupTests
, etc...This is due to a name clash in the tests subproject. However, having consistent naming in
cats-kernel-laws
should take precedence, as we can always fix the imports by renaming them.This is done in this PR.