csw.testkit.scaladsl

Members list

Type members

Classlikes

sealed trait CSWService extends Product, Serializable

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
object AlarmServer
object ConfigServer
object EventServer
Show all
object CSWService

Supported services by framework testkit.

Supported services by framework testkit.

Specify one or more services from following ADT's while creating FrameworkTestKit and testkit will make sure that those services are started.

Example: == With Scalatest Integration ==

 class ScalaTestFrameworkTestKitSpec
   extends ScalaTestFrameworkTestKit(LocationServer, ConfigServer, EventServer)
   with FunSuiteLike

== With FrameworkTestKit ==


 private val frameworkTestKit = FrameworkTestKit()
 frameworkTestKit.start(ConfigServer, EventServer)

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
CSWService.type
trait ScalaTestBase extends TestSuite, Matchers, BeforeAndAfterAll, ScalaFutures, Eventually, OptionValues

Attributes

Supertypes
trait OptionValues
trait Eventually
trait ScalaFutures
trait Futures
trait PatienceConfiguration
trait AbstractPatienceConfiguration
trait ScaledTimeSpans
trait BeforeAndAfterAll
trait SuiteMixin
trait Matchers
trait Explicitly
trait MatcherWords
trait ShouldVerb
trait Tolerance
trait TestSuite
trait Suite
trait Serializable
trait Assertions
trait TripleEquals
trait TripleEqualsSupport
class Object
trait Matchable
class Any
Show all
Known subtypes
abstract class ScalaTestFrameworkTestKit(val frameworkTestKit: FrameworkTestKit, services: CSWService*) extends ScalaTestBase

A ScalaTest base class for the FrameworkTestKit, making it possible to have ScalaTest manage the lifecycle of the testkit.

A ScalaTest base class for the FrameworkTestKit, making it possible to have ScalaTest manage the lifecycle of the testkit.

The testkit will be automatically start list of provided CSWService and shut down all started CSWService when the test completes or fails using ScalaTest's BeforeAndAfterAll trait.

If a spec overrides beforeAll or afterAll, it must call super.beforeAll and super.afterAll respectively.

Attributes

Supertypes
trait OptionValues
trait Eventually
trait ScalaFutures
trait Futures
trait PatienceConfiguration
trait AbstractPatienceConfiguration
trait ScaledTimeSpans
trait BeforeAndAfterAll
trait SuiteMixin
trait Matchers
trait Explicitly
trait MatcherWords
trait ShouldVerb
trait Tolerance
trait TestSuite
trait Suite
trait Serializable
trait Assertions
trait TripleEquals
trait TripleEqualsSupport
class Object
trait Matchable
class Any
Show all