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:
SemigroupLawTestsbutCommutativeSemigroupTests, etc...This is due to a name clash in the tests subproject. However, having consistent naming in
cats-kernel-lawsshould take precedence, as we can always fix the imports by renaming them.This is done in this PR.