Skip to content

Commit

Permalink
feat(87): Added MUnit module
Browse files Browse the repository at this point in the history
  • Loading branch information
rcardin committed Oct 2, 2024
1 parent cb59d8e commit c82056d
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 2 deletions.
16 changes: 14 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,15 @@ lazy val `cats-raise4s` = project
.settings(
name := "cats-raise4s",
scalaVersion := scala3Version,
libraryDependencies ++= commonDependencies ++ `cats-raised4sDependencies`
libraryDependencies ++= commonDependencies ++ `cats-raise4sDependencies`
)

lazy val `munit-raise4s` = project
.dependsOn(core)
.settings(
name := "munit-raise4s",
scalaVersion := scala3Version,
libraryDependencies ++= commonDependencies ++ `munit-raise4sDependencies`
)

lazy val raise4s = (project in file("."))
Expand All @@ -59,6 +67,10 @@ lazy val commonDependencies = Seq(
dependencies.scalatest % Test
)

lazy val `cats-raised4sDependencies` = Seq(
lazy val `cats-raise4sDependencies` = Seq(
"org.typelevel" %% "cats-core" % "2.12.0"
)

lazy val `munit-raise4sDependencies` = Seq(
"org.scalameta" %% "munit" % "1.0.2"
)
8 changes: 8 additions & 0 deletions munit-raise4s/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
![GitHub Workflow Status (with branch)](https://img.shields.io/github/actions/workflow/status/rcardin/raise4s/scala.yml?branch=main)
![Maven Central](https://img.shields.io/maven-central/v/in.rcard.raise4s/munit-raise4s_3)
[![javadoc](https://javadoc.io/badge2/in.rcard.raise4s/muint-raise4s_3/javadoc.svg)](https://javadoc.io/doc/in.rcard.raise4s/munit-raise4s_3)
<br/>

# MUnit Integration for Raise4s

TODO
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package in.rcard.raise4s.munit

import munit.FunSuite

abstract class RaiseSuite extends FunSuite {

}

0 comments on commit c82056d

Please sign in to comment.