Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Run Scaladoc as unit tests

License

NotificationsYou must be signed in to change notification settings

ThoughtWorksInc/sbt-example

Repository files navigation

Scala CIScaladocLatest version

sbt-example is an sbt plug-in for creating unit tests from examples in Scaladoc.

The previous version of this project is the macro annotation@example, which isdeprecated and does not support Scala 2.12.5+ version.

Showcases

  • AsynchronousPool - an asynchronous resource pool, whose Scaladoc contains tests written inScalaTest andScalaMock
  • Factory - a dependent-type type class for dependency injection, whose Scaladoc contains a huge number of small usecases.
  • PartialApply - a dependent-type type class for partial applying a function, whose Scaladoc is written inGiven-When-Then style.
  • NullSafe - a library to provide Kotlin / Groovy flavored null-safe? operator in Scala.
  • scalajs-all-in-one-template - a project template for Scala.js static web projects, whose Scaladoc contains examples executed injsdom.

(Feel free to add your Scaladoc here)

Dogfooding

  • Documentation of sbt-example - sbt-example eats its own dog food. The tests of sbt-example are generated by sbt-example itself from Scaladoc, which can be also considered as the documentation for using sbt-example.

Requirements

  • Sbt 1.x

About

Run Scaladoc as unit tests

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors4

  •  
  •  
  •  
  •  

Languages


[8]ページ先頭

©2009-2025 Movatter.jp