Project housing various samples for typelevel cats. Visit https://typelevel.org/cats for more information on the project
This project is under the MIT License. Cats seems to also be under the MIT License with attribution to the license made for Scalaz
To run, select a test to run and in sbt run the commands:
sbt reload update
sbt testOnly com.xyzcorp.<TEST-NAME>
or to select which test:
sbt testOnly com.xyzcorp.<TEST-NAME> -- -z '<SUBSTRING>'
for example,
sbt testOnly com.xyzcorp.typeclasses.FunctorSpec -- -z 'Case 1:'
;reload;update
testOnly com.xyzcorp.<TEST-NAME>
or to select which test with a substring:
testOnly com.xyzcorp.<TEST-NAME> -- -z '<SUBSTRING>'
for example,
testOnly com.xyzcorp.typeclasses.FunctorSpec -- -z 'Case 1:'
- Each
Spec
should only encompass what it owns. In other words,Apply
extendsFunctor
, thereforeApply
should only show what is new or different inApply
- It should start with methods it contains with a sample how it should run.
- Then it should show any extensions that may be used with Scala standard library
- Any laws that are applicable.