@kiwiproject/kiwi-test-js
v0.6.0
Published
kiwi-test-js is a test utility library. Most of these utilities are ports from the Java Kiwi-test library
Downloads
156
Readme
KiwiTestJS
kiwi-test-js is a test utility library. Most of these utilities are ports from the Java Kiwi-test library (https://github.com/kiwiproject/kiwi-test).
TestContainers
There are a few prebuilt implementations of starting up TestContainers to use in tests. These utilities allow for global setup and teardown methods to be created to run containers before all tests and after all tests not just per test file. Currently there are 4 implementations:
- PostgresExtension - Spins up and shuts down a Postgres container for use and allows for creating databases
- MongoExtension - Spins up and shuts down a Mongo container for use
- ElasticSearchExtension - Spins up and shuts down a Elastic Search container for use
- MinioExtension - Spins up and shuts down a Minio container for use