org.allenai.common

testkit

package testkit

Visibility
  1. Public
  2. All

Type Members

  1. abstract class ActorSpec extends TestKit with AllenAiBaseSpec with ImplicitSender with FutureHelpers with BeforeAndAfterAll

    Base class for Akka Actor integration specs

    Base class for Akka Actor integration specs

    By extending akka.testkit.TestKit and akka.testkit.ImplicitSender, we get many helpers for testing Actors against a live actor system.

    For more information on Akka TestKit, see: http://goo.gl/3SE4zz

  2. trait AllenAiBaseSpec extends FlatSpecLike with Matchers

  3. trait FutureHelpers extends AnyRef

    Trait providing helpers for dealing with scala.concurrent.Futures duruing tests

  4. abstract class IntegrationSpec extends AllenAiBaseSpec

    Base class for integration tests.

    Base class for integration tests. By default, integration tests share their Spec instance.

  5. trait ScratchDirectory extends BeforeAndAfterAll

    Provides a scratch directory for writing unit-test output

  6. abstract class SingeInstanceUnitSpec extends AllenAiBaseSpec

    Base class for any unit test that, for some reason, want to share the Spec instance.

    Base class for any unit test that, for some reason, want to share the Spec instance. Usually the reason is a slow expensive test setup time (setting up a 3rd party DB, etc.)

  7. abstract class UnitSpec extends AllenAiBaseSpec with OneInstancePerTest

    Base class for any unit test.

    Base class for any unit test. Runs each test in a separate Spec instance, to simplify / guarantee test isolation. This is the default behavior of JUnit.

Ungrouped