start.feature 507 B

123456789101112131415161718192021
  1. Feature: Start
  2. Background:
  3. Given a compose file
  4. """
  5. services:
  6. simple:
  7. image: alpine
  8. command: top
  9. another:
  10. image: alpine
  11. command: top
  12. """
  13. Scenario: Start single service
  14. When I run "compose create"
  15. Then the output contains "simple-1 Created"
  16. And the output contains "another-1 Created"
  17. Then I run "compose start another"
  18. And service "another" is "Up"
  19. And service "simple" is "Created"