Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
66 lines (56 sloc) 2.87 KB
@smoke
Feature: Retrieve information on an application on AppCloud
As a user with an application deployed on AppCloud
I want to be able to retrieve information on various aspects of the application
Background: Application information retrieval
Given I have registered and logged in
@creates_simple_app2
Scenario: query application status
Given I have deployed a new simple application
When I query status of my application
Then I should get the state of my application
Then I delete my application
@creates_simple_app2 @creates_tiny_java_app @java
Scenario: list applications
Given I have deployed a new simple application
And I have deployed a tiny Java application
When I list my applications
Then I should get status on the simple app as well as the tiny Java application
Then I delete my application
@creates_simple_app2
Scenario: get application files
Given I have deployed a new simple application
When I list files associated with my application
Then I should get a list of directories and files associated with my application on AppCloud
And I should be able to retrieve any of the listed files
Then I delete my application
@creates_simple_app2
Scenario: get instances information
Given I have deployed a new simple application
And I have 2 instances of a simple application
When I get instance information for my application
Then I should get status on all instances of my application
Then I delete my application
@creates_simple_app2
Scenario: get resource usage information for an application
Given I have deployed a new simple application
When I get resource usage for my application
Then I should get information representing my application's resource use.
Then I delete my application
@creates_simple_app2
Scenario: get crash information for an application
Given I have deployed a new simple application
And I that my application has a crash
When I get crash information for my application
Then I should be able to get the time of the crash from that information
And I should be able to get a list of files associated with my application on AppCloud
And I should be able to retrieve any of the listed files
Then I delete my application
@creates_broken_app @ruby
Scenario: get crash information for a broken application
Given I have registered and logged in
And I have deployed a broken application
When I get crash information for my application
Then I should be able to get a list of files associated with my application on AppCloud
And I should be able to retrieve any of the listed files
Then I delete my application
Jump to Line
Something went wrong with that request. Please try again.