Skip to content

Latest commit

 

History

247 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SBT plugin to enable using MUnit to test your SBT plugins

Compatible with sbt 1.x (Scala 2.12) and sbt 2.x (Scala 3).

Usage

Create a scripted test for your SBT plugin following the official guide.

Add the following line to the plugins.sbt file of your scripted test:

addSbtPlugin("com.alejandrohdezma" % "sbt-scripted-munit" % "0.4.0")

Add some tests to build.sbt:

munitSuites += "MySuite" -> new FunSuite {

  test("The most important question") {
    assertEquals("The meaning of life, the universe and everything else", "42")
  }

}

Add this to your test file so MUnit suites are executed:

> munitScripted

Contributors to this project

alejandrohdezma
alejandrohdezma

About

SBT plugin to enable using MUnit to test your SBT plugins

Topics

Resources

Code of conduct

Contributing

Stars

1 star

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages