Skip to content

datalbry/testcontainer-alxndria

Repository files navigation

Alxndria TestContainer

This module is all about providing a convenient testcontainer for alxndria. Internally using the in-memory emulator for alxndria

Usage

To deploy the container for a specific tests, one can use the following snippet.

Note
The below snippet will spin up a single container for the whole test class, if you want to spin of a new container for each test method, simply define the container as a field variable of your test class. (Still annotated with @Container)
@Testcontainers
internal class AlxndriaContainerTest {

    companion object {
        @Container private val alxndria = AlxndriaContainer()
    }

    ...
}

License

Copyright 2021 DataLbry.io

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

In-memory emulator for the Alxndria platform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages