File tree Expand file tree Collapse file tree 2 files changed +10
-39
lines changed
software/tests/infrastructure/features Expand file tree Collapse file tree 2 files changed +10
-39
lines changed Original file line number Diff line number Diff line change @@ -6,25 +6,12 @@ Feature: Scripted provisioning of target environment
6
6
Background :
7
7
Given I am sshed into the environment
8
8
9
- Scenario : Is the rails application deployed into the correct directory?
10
- When I run "ls -las /var/www/rails/"
11
- Then I should see "Gemfile"
12
-
13
- Scenario Outline : Have all the required gems been installed?
14
- When I run "gem list"
15
- Then I should see "<gem>"
16
-
17
- Scenarios : Gems installed
18
- | gem |
19
- | rails |
20
- | sqlite |
21
-
22
- Scenario : Is the Apache service running?
23
- When I run "/sbin/chkconfig --list httpd"
24
- Then I should see "3:on"
9
+ Scenario : Is Tomcat Running?
10
+ When I run "ps -ef | grep tomcat6"
11
+ Then I should see "tomcat"
25
12
26
13
Scenario : The application is up and running
27
14
When I run "/usr/bin/wget -qO- http://target.devopscloud.com"
28
- Then I should see "Sample App "
15
+ Then I should see "Brewery Manager "
29
16
30
17
Original file line number Diff line number Diff line change @@ -5,29 +5,13 @@ Feature: Scripted provisioning of target environment
5
5
6
6
Background :
7
7
Given I am sshed into the environment
8
-
9
- Scenario : Is Passenger installed?
10
- When I run "gem list"
11
- Then I should see "passenger"
12
-
13
- Scenario : Is the proper version of Ruby installed?
14
- When I run "/usr/bin/ruby -v"
15
- Then I should see "ruby 1.8.7"
16
8
17
- Scenario : Is the proper version of Apache installed?
18
- When I run "/usr/sbin/httpd -v"
19
- Then I should see "2.2.22"
20
-
21
- Scenario : Is the Apache service running?
22
- When I run "/sbin/chkconfig --list httpd"
23
- Then I should see "3:on"
24
-
25
- Scenario : Httpd conf should have passenger variables
26
- When I scrape "/etc/httpd/conf/httpd.conf"
27
- Then "PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-3.0.12" should be present
9
+ Scenario : Is Tomcat Running?
10
+ When I run "ps -ef | grep tomcat6"
11
+ Then I should see "tomcat"
28
12
29
- Scenario : Httpd conf should have a virtual host added
30
- When I scrape "/etc/httpd/conf/httpd.conf "
31
- Then "NameVirtualHost \* :80" should be present
13
+ Scenario : Is Java installed?
14
+ When I run "java "
15
+ Then I should see "Usage: java"
32
16
33
17
You can’t perform that action at this time.
0 commit comments