Registry / testing / testcontainers-core

testcontainers-core

JSON →
library0.2.0rbrubygemsunverified

Testcontainers makes it easy to create and clean up container-based dependencies for automated tests.

gem install testcontainers-core
INSTALL
IMPORT
SIG · TESTCONTAINERS-COR
T
testcontainers-core
testingrubyv0.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Testcontainers
require 'testcontainers'

Start and stop a Redis container for testing

require 'testcontainers' container = Testcontainers::Container.new('redis:latest') container.start puts container.host container.stop
Debug
Known issues
gotchaRequires Docker to be installed and running
fix
Ensure Docker is installed and the Docker daemon is running before using Testcontainers.
affects: >= 0.1.0
Upgrade
Version history
0.2.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
6
Amazon
1
Resources
testcontainers-core — gem install testcontainers-core · libregistry