Skip to content

dhinojosa/cats-study

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cats-Study

About

Project housing various samples for typelevel cats. Visit https://typelevel.org/cats for more information on the project

License

This project is under the MIT License. Cats seems to also be under the MIT License with attribution to the license made for Scalaz

Running

To run, select a test to run and in sbt run the commands:

From the Terminal

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:'

Within SBT

;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:'

Rules

How each Spec should look

  1. Each Spec should only encompass what it owns. In other words, Apply extends Functor, therefore Apply should only show what is new or different in Apply
  2. It should start with methods it contains with a sample how it should run.
  3. Then it should show any extensions that may be used with Scala standard library
  4. Any laws that are applicable.

About

Playground Repo For Cats

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages