Developer's life
It's basically about programming and work in general
  1. Home
  2. Administration
  3. Integration tests with testcontainers-go

Integration tests with testcontainers-go

  • 06, 03, 2020
  •  bullgare
  •  Administration, golang, Testing
  • No Comments.

Here is the go library that simplifies integration tests with docker containers — https://github.com/testcontainers/testcontainers-go.

That’s how you can use it to test sql — https://github.com/testcontainers/testcontainers-go/blob/master/docs/examples/cockroachdb.md.

Project documentation — https://golang.testcontainers.org/features/docker_compose/

The idea is to prepare the environment, build your app, then make requests and check the DB state.

Similar Posts

  • Gitlab-ci: build go app with docker as a docker image
  • Как собрать и запустить свой докер
  • docker-compose for starting aerospike and memcache
  • mmock for mocking microservices
  • Create SQS queues on localstack container start

Leave a Comment

LEAVE A COMMENT Отменить ответ

Categories

  • 3D printing (1)
  • Administration (180)
  • Android (6)
  • API (5)
  • Architecture (23)
  • Books (4)
  • Databases (71)
  • Hardware (3)
  • HTML and CSS (122)
    • Mobile (18)
  • linux-desktop (42)
  • Management (2)
  • MasOsX (32)
  • No category (40)
  • Optimization (74)
    • Client Optimization (57)
    • Server Optimization (17)
  • Programming (520)
    • golang (67)
    • javascript (343)
      • Angular.js (80)
      • node.js (9)
      • react (8)
      • Vue (1)
    • php (61)
    • python (16)
      • django (7)
    • ruby (1)
      • rails (1)
  • Smart Home (1)
  • Soft and services (139)
    • Development tools (16)
  • Teamwork and Management (22)
  • Testing (43)
  • Version control (29)

Labels

angular.js API bash chrome Chrome DevTools css css3 debug django docker git github Google grpc grunt html5 javascript jQuery link links linux MacOS mysql nginx node.js performance php phpstorm PostgreSQL SEO shell Ubuntu video windows windows 7 администрирование база данных бд видео вопросы на собеседовании директивы мобильные устройства отладка собеседование хостинг

Copyright © 2015 Your Company. All Rights Reserved.

Powered by WordPress. Theme by Arinio