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

Class names in cats.tests are not consistent. #1965

Closed
kailuowang opened this issue Oct 12, 2017 · 3 comments
Closed

Class names in cats.tests are not consistent. #1965

kailuowang opened this issue Oct 12, 2017 · 3 comments

Comments

@kailuowang
Copy link
Contributor

The majority is named XXXXTests which causes some conflicts with cats.laws.discipline.XXXXTests (discussed in #1960)
Other forms includes

  • XXXXCheck
  • XXXXTest
  • XXXXSuite

We should consolidate them all to a single naming scheme. XXXXSuite maybe a good option.

@AlejandroME
Copy link
Contributor

I can help with this. Should XXXSuite be the naming standard for all the tests? @kailuowang

@kailuowang
Copy link
Contributor Author

@AlejandroME, thanks so much! Yeah I incline to use XXXXSuite .

@AlejandroME
Copy link
Contributor

Got it! Working on it @kailuowang

AlejandroME added a commit to AlejandroME/cats that referenced this issue Oct 16, 2017
- Renames tests in `cats.tests` package with the "Suite" suffix,
according to typelevel#1960 and typelevel#1965.
kailuowang pushed a commit that referenced this issue Oct 19, 2017
* 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
kailuowang pushed a commit to kailuowang/cats that referenced this issue Oct 23, 2017
* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants