• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ory / dockertest / 548 / 1
23%
v3: 23%

Build:
DEFAULT BRANCH: v3
Ran 10 Apr 2020 10:30AM UTC
Files 1
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

10 Apr 2020 10:24AM UTC coverage: 54.813% (-9.0%) from 63.78%
548.1

push

travis-ci

web-flow
feat: add basic network management (#188)

Related #163 

This PR adds three things (in order from smaller to bigger):
* Getting a container descriptor inside container. This is useful when tests already running inside container with mounted docker socket for container management.
* Execution commands inside running container. This is useful "in general".  I.e. we have project with test case that simulates RabbitMQ restarts using `rabbitmqctl stop_app` and `rabbitmqctl start_app`. Also it's used in new tests.
* Basic network management. Docker networks can be created and deleted using `Pool`, containers can be connected to network using `BuildAndRunWithOptions` and `RunWithOptions`, already running containers can be connected to network using `ConnectToNetwork`.

Currrently it's working pretty good but requires too much boilerplate with `docker` package for network management and commands execution.

Also it helps in cases metioned in #163 when you need to run some end-to-end or integration tests with multiple linked containers.

205 of 374 relevant lines covered (54.81%)

4.49 hits per line

Source Files on job 548.1
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 514
  • Travis Job 548.1
  • 1deddef8 on github
  • Prev Job for on v3 (#545.1)
  • Next Job for on v3 (#553.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc