pureharm-endpoints-tapir-docs


License

License

GroupId

GroupId

com.busymachines
ArtifactId

ArtifactId

pureharm-endpoints-tapir-docs_2.13
Last Version

Last Version

0.5-18-6fc7190
Release Date

Release Date

Type

Type

jar
Description

Description

pureharm-endpoints-tapir-docs
pureharm-endpoints-tapir-docs
Project URL

Project URL

https://github.com/busymachines/pureharm-rest
Project Organization

Project Organization

BusyMachines
Source Code Management

Source Code Management

https://github.com/busymachines/pureharm-testkit

Download pureharm-endpoints-tapir-docs_2.13

How to add to project

<!-- https://jarcasting.com/artifacts/com.busymachines/pureharm-endpoints-tapir-docs_2.13/ -->
<dependency>
    <groupId>com.busymachines</groupId>
    <artifactId>pureharm-endpoints-tapir-docs_2.13</artifactId>
    <version>0.5-18-6fc7190</version>
</dependency>
// https://jarcasting.com/artifacts/com.busymachines/pureharm-endpoints-tapir-docs_2.13/
implementation 'com.busymachines:pureharm-endpoints-tapir-docs_2.13:0.5-18-6fc7190'
// https://jarcasting.com/artifacts/com.busymachines/pureharm-endpoints-tapir-docs_2.13/
implementation ("com.busymachines:pureharm-endpoints-tapir-docs_2.13:0.5-18-6fc7190")
'com.busymachines:pureharm-endpoints-tapir-docs_2.13:jar:0.5-18-6fc7190'
<dependency org="com.busymachines" name="pureharm-endpoints-tapir-docs_2.13" rev="0.5-18-6fc7190">
  <artifact name="pureharm-endpoints-tapir-docs_2.13" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.busymachines', module='pureharm-endpoints-tapir-docs_2.13', version='0.5-18-6fc7190')
)
libraryDependencies += "com.busymachines" % "pureharm-endpoints-tapir-docs_2.13" % "0.5-18-6fc7190"
[com.busymachines/pureharm-endpoints-tapir-docs_2.13 "0.5-18-6fc7190"]

Dependencies

compile (5)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.13.5
com.softwaremill.sttp.tapir : tapir-openapi-docs_2.13 jar 0.17.19
com.softwaremill.sttp.tapir : tapir-openapi-docs_2.13 jar 0.17.19
com.softwaremill.sttp.tapir : tapir-openapi-circe-yaml_2.13 jar 0.17.19
com.softwaremill.sttp.tapir : tapir-openapi-circe-yaml_2.13 jar 0.17.19

Project Modules

There are no modules declared in this project.

pureharm-testkit

See changelog.

Scala versions

  • 2.13, JS + JVM
  • 3.0.0-RC1, JS + JVM
  • 3.0.0-RC2, JS + JVM

modules

usage

Follow the munit setup to add the appropriate test framework to your build.

testFrameworks += new TestFramework("munit.Framework")

Then, create your own "testkit" package. And use that everywhere.

package myapp

import busymachines.pureharm.testkit

package object test extends testkit.PureharmTestkitAliases

//-------- EOF --------

package myapp.test

/**
 * Add any custom assertions, flavors, styles, opiniated decisions
 * here, and continue using this.
 */
abstract class MyAppTest extends testkit.PureharmTestkit

//-------- EOF --------

package myapp.somemodule

import myapp.test._

final class MyTest extends MyAppTest {
  test("no resource")(IO.unit)

  private val myResource =
    ResourceFixture((to: TestOptions) => Resource.eval(testLogger.info(s"Making: $to") >> Timer[IO].sleep(10.millis)))

  myResource.test(TestOptions("with resource").tag(Slow))((_: Unit) => testLogger.info("Executing test w/ resource"))
}

Still under construction. See release notes and tests for examples.

Copyright and License

All code is available to you under the Apache 2.0 license, available at http://www.apache.org/licenses/LICENSE-2.0 and also in the LICENSE file.

com.busymachines

Busy Machines

Versions

Version
0.5-18-6fc7190