2022-09-12 23:45:47 +02:00
|
|
|
Feature: Start
|
2022-09-09 18:01:34 +02:00
|
|
|
|
|
|
|
Background:
|
|
|
|
Given a compose file
|
|
|
|
"""
|
|
|
|
services:
|
|
|
|
simple:
|
|
|
|
image: alpine
|
|
|
|
command: top
|
|
|
|
another:
|
|
|
|
image: alpine
|
|
|
|
command: top
|
|
|
|
"""
|
|
|
|
|
2022-09-12 23:45:47 +02:00
|
|
|
Scenario: Start single service
|
2022-09-09 18:01:34 +02:00
|
|
|
When I run "compose create"
|
|
|
|
Then the output contains "simple-1 Created"
|
|
|
|
And the output contains "another-1 Created"
|
|
|
|
Then I run "compose start another"
|
2022-12-27 03:20:09 +01:00
|
|
|
And service "another" is "Up"
|
|
|
|
And service "simple" is "Created"
|