{"id":19733186,"url":"https://github.com/thoughtworksinc/sbt-example","last_synced_at":"2025-04-30T02:33:15.836Z","repository":{"id":21105024,"uuid":"91772106","full_name":"ThoughtWorksInc/sbt-example","owner":"ThoughtWorksInc","description":"Run Scaladoc as unit tests","archived":false,"fork":false,"pushed_at":"2025-03-30T23:24:51.000Z","size":483,"stargazers_count":32,"open_issues_count":1,"forks_count":3,"subscribers_count":20,"default_branch":"master","last_synced_at":"2025-03-31T00:18:56.870Z","etag":null,"topics":["sbt","sbt-plugin","scala","scaladoc","testing","unit-testing"],"latest_commit_sha":null,"homepage":"","language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ThoughtWorksInc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-19T06:16:32.000Z","updated_at":"2025-03-30T23:21:21.000Z","dependencies_parsed_at":"2024-01-14T02:57:49.453Z","dependency_job_id":"9d85e72f-dc9a-40dc-8599-a2b15d2ccbbd","html_url":"https://github.com/ThoughtWorksInc/sbt-example","commit_stats":null,"previous_names":["thoughtworksinc/example.scala"],"tags_count":29,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThoughtWorksInc%2Fsbt-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThoughtWorksInc%2Fsbt-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThoughtWorksInc%2Fsbt-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThoughtWorksInc%2Fsbt-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ThoughtWorksInc","download_url":"https://codeload.github.com/ThoughtWorksInc/sbt-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251629415,"owners_count":21618164,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["sbt","sbt-plugin","scala","scaladoc","testing","unit-testing"],"created_at":"2024-11-12T00:29:35.366Z","updated_at":"2025-04-30T02:33:15.830Z","avatar_url":"https://github.com/ThoughtWorksInc.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sbt-example\n\n[![Scala CI](https://github.com/ThoughtWorksInc/sbt-example/actions/workflows/scala.yml/badge.svg)](https://github.com/ThoughtWorksInc/sbt-example/actions/workflows/scala.yml)\n[![Scaladoc](https://javadoc.io/badge/com.thoughtworks.example/sbt-example_2.12_1.0/latest.svg?label=scaladoc)](https://javadoc.io/page/com.thoughtworks.example/sbt-example_2.12_1.0/12/com/thoughtworks/Example$.html)\n[![Latest version](https://index.scala-lang.org/thoughtworksinc/sbt-example/latest.svg)](https://index.scala-lang.org/thoughtworksinc/sbt-example)\n\n**sbt-example** is an sbt plug-in for creating unit tests from examples in Scaladoc.\n\nThe previous version of this project is the macro annotation [`@example`](https://javadoc.io/page/com.thoughtworks.example/unidoc_2.12/2.0.0/com/thoughtworks/example.html), which is [deprecated](https://github.com/scalameta/scalameta/issues/1182) and does not support Scala 2.12.5+ version.\n\n## Showcases\n\n* [AsynchronousPool](https://javadoc.io/page/com.thoughtworks.raii/asynchronous_2.12/latest/com/thoughtworks/raii/AsynchronousPool$.html) - an asynchronous resource pool, whose Scaladoc contains tests written in [ScalaTest](https://scalatest.org/) and [ScalaMock](https://scalamock.org)\n* [Factory](https://javadoc.io/page/com.thoughtworks.feature/the_2.12/latest/com/thoughtworks/feature/Factory.html) - a dependent-type type class for dependency injection, whose Scaladoc contains a huge number of small usecases.\n* [PartialApply](https://javadoc.io/page/com.thoughtworks.feature/the_2.12/latest/com/thoughtworks/feature/PartialApply.html) - a dependent-type type class for partial applying a function, whose Scaladoc is written in [Given-When-Then](https://martinfowler.com/bliki/GivenWhenThen.html) style.\n* [NullSafe](https://javadoc.io/page/com.thoughtworks.dsl/dsl_2.12/latest/com/thoughtworks/dsl/keywords/NullSafe.html) - a library to provide Kotlin / Groovy flavored null-safe `?` operator in Scala.\n* [scalajs-all-in-one-template](https://github.com/Atry/scalajs-all-in-one-template/blob/master/js/src/main/scala/views/Main.scala) - a project template for Scala.js static web projects, whose Scaladoc contains examples executed in [jsdom](https://github.com/jsdom/jsdom).\n\n(Feel free to add your Scaladoc here)\n\n### Dogfooding\n\n* [Documentation of sbt-example](https://javadoc.io/page/com.thoughtworks.example/sbt-example_2.12_1.0/12/com/thoughtworks/Example$.html) - 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.\n\n\n\n## Requirements\n\n* Sbt 1.x\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthoughtworksinc%2Fsbt-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthoughtworksinc%2Fsbt-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthoughtworksinc%2Fsbt-example/lists"}