Giter Club home page Giter Club logo

httpbucket's Introduction

Testainers Testainers

Build With Love Version Licence Build Coverage Report

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!

BuyMeACoffee

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!

PIX

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);
  });
}

Available Containers

Open an issue to request a new container.

Container Image Version Status
postgresql https://hub.docker.com/_/postgres v0.0.10
httpbucket https://hub.docker.com/r/testainers/httpbucket v0.0.6
redis https://hub.docker.com/_/redis v0.0.5
sshd https://hub.docker.com/r/testainers/sshd-container v0.0.4
MongoDB https://hub.docker.com/_/mongo v0.0.2
httpbin https://hub.docker.com/r/kennethreitz/httpbin v0.0.1
http-https-echo https://hub.docker.com/r/mendhak/http-https-echo v0.0.1

httpbucket's People

Contributors

edufolly avatar

Stargazers

 avatar

Forkers

rekrakmek

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.