File: marathon_tasks.feature

package info (click to toggle)
python-marathon 0.13.0-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 460 kB
  • sloc: python: 1,969; makefile: 185; sh: 58
file content (28 lines) | stat: -rw-r--r-- 1,080 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Feature: marathon-python can operate marathon app tasks

  Scenario: App tasks can be listed
    Given a working marathon instance
     When we create a trivial new app
      And we wait the trivial app deployment finish
     Then we should be able to list tasks of the trivial app

  Scenario: App tasks can be killed
    Given a working marathon instance
     When we create a trivial new app
      And we wait the trivial app deployment finish
     Then we should be able to kill the tasks

  Scenario: A list of app tasks can be killed
    Given a working marathon instance
     When we create a trivial new app
      And we wait the trivial app deployment finish
     Then we should be able to kill the #0,1,2 tasks of the trivial app

  Scenario: Events can be listened in stream
    Given a working marathon instance
	 When marathon version is greater than 0.11.0
	  And we start listening for events
      And we create a trivial new app
      And we wait the trivial app deployment finish
     Then we should be able to kill the tasks
	  And we should see list of events