testainers

Creator: coderz1093

Last updated:

0 purchases

testainers Image
testainers Images

Languages

Categories

Add to Cart

Description:

testainers

Testainers






Testainers is a powerful Dart plugin designed to streamline the management of
containers for testing purposes. With Testainers, developers can effortlessly
create, configure, and manage isolated test environments within containers,
ensuring consistent and reliable testing processes.
This plugin provides a user-friendly interface to handle container
orchestration, allowing developers to quickly spin up and tear down test
containers, define dependencies, and execute tests seamlessly.
Testainers empowers developers to achieve efficient and reproducible testing
workflows, enabling them to focus on writing high-quality code while ensuring
the reliability and integrity of their software through comprehensive
containerized testing.
Funding #
Your contribution will help drive the development of quality tools for the
Flutter and Dart developer community. Any amount will be appreciated.
Thank you for your continued support!

PIX #
Sua contribuição ajudará a impulsionar o desenvolvimento de ferramentas de
qualidade para a comunidade de desenvolvedores Flutter e Dart. Qualquer quantia
será apreciada.
Obrigado pelo seu apoio contínuo!

Usage #
import 'dart:io';

import 'package:http/http.dart';
import 'package:test/test.dart';
import 'package:testainers/testainers.dart';

///
///
///
void main() {
///
///
///
group('Test Httpbucket', () {
final TestainersHttpbucket container = TestainersHttpbucket();

///
setUpAll(() async {
await container.start();
});

///
test('Http Test', () async {
final Response response = await get(
Uri.parse('http://localhost:${container.httpPort}/methods'),
);

expect(response.statusCode, 200);
expect(response.headers, isNotEmpty);
expect(response.body, isNotEmpty);
});

///
tearDownAll(container.stop);
});
}
copied to clipboard
Available Containers #
Open an issue to request a new container. #



Container
Image
Tag
Version
Status




postgresql
https://hub.docker.com/_/postgres
16-alpine
v0.2.0



httpbucket
https://hub.docker.com/r/testainers/httpbucket
latest
v0.2.0



redis
https://hub.docker.com/_/redis
7-alpine
v0.2.0



sshd
https://hub.docker.com/r/testainers/sshd-container
latest
v0.2.0



MongoDB
https://hub.docker.com/_/mongo
7.0.11
v0.2.0



httpbin
https://hub.docker.com/r/kennethreitz/httpbin
latest
v0.2.0



http-https-echo
https://hub.docker.com/r/mendhak/http-https-echo
33
v0.2.0

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.