Skip to content

Instantly share code, notes, and snippets.

@ni-ka
Created May 24, 2012 12:36
Show Gist options
  • Save ni-ka/2781334 to your computer and use it in GitHub Desktop.
Save ni-ka/2781334 to your computer and use it in GitHub Desktop.
berm00259937a:expertondemand c5168972$ cucumber features/acceptance_features/profiles/completeness.feature:7
Using the default profile...
/Users/c5168972/.rvm/gems/ruby-1.9.3-p0@expertondemand/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:239:in `block in require': iconv will be deprecated in the future, use String#encode instead.
@javascript
Feature: Profile completeness
As a user I would like to see an indication of my profile completeness
so I will know If I have provided sufficient information
Scenario: Display completeness editing profile # features/acceptance_features/profiles/completeness.feature:7
Given I am logged in # features/step_definitions/user_steps.rb:19
And I have empty profile # features/step_definitions/profiles/profile_steps.rb:7
When I am on the edit profile page # features/step_definitions/web_steps.rb:44
Then I should see "0%" profile completeness # features/step_definitions/profiles/completeness_steps.rb:45
And I should see completeness reminders for all fields # features/step_definitions/profiles/completeness_steps.rb:51
When I fill out the "Job Role" with "developer" # features/step_definitions/profiles/profile_steps.rb:41
Then I should see "20%" profile completeness # features/step_definitions/profiles/completeness_steps.rb:45
And I should not see the reminder to add "Job Role" # features/step_definitions/profiles/completeness_steps.rb:65
When I fill out the rest of profile # features/step_definitions/profiles/completeness_steps.rb:2
Lexing error on line 8: ' Education & Research<\/option><option value=\'Industrial Machinery & Components\'>Industrial Machinery & Components<\/option><option value=\'Insurance\'>Insurance<\/option><option value=\'Life Sciences\'>Life Sciences<\/option><option value=\'Media\'>Media<\/option><option value=\'Mill Products\'>Mill Products<\/option><option value=\'Mining\'>Mining<\/option><option value=\'Oil and Gas\'>Oil and Gas<\/option><option value=\'Professional Services\'>Professional Services<\/option><option value=\'Public Sector\'>Public Sector<\/option><option value=\'Retail\'>Retail<\/option><option value=\'Telecommunications\'>Telecommunications<\/option><option value=\'Transportation (Including Travel/Logistics)\'>Transportation (Including Travel/Logistics)<\/option><option value=\'Utilities\'>Utilities<\/option><option value=\'. See http://wiki.github.com/cucumber/gherkin/lexingerror for more information. (Gherkin::Lexer::LexingError)
./features/step_definitions/profiles/completeness_steps.rb:31:in `/^I fill out the rest of profile$/'
features/acceptance_features/profiles/completeness.feature:18:in `When I fill out the rest of profile'
Then I should see "100%" profile completeness # features/step_definitions/profiles/completeness_steps.rb:45
And I should not see any reminders to complete profile # features/step_definitions/profiles/completeness_steps.rb:71
When I clean up the "Job Role" # features/step_definitions/profiles/profile_steps.rb:52
Then I should see "80%" profile completeness # features/step_definitions/profiles/completeness_steps.rb:45
And I should see the reminder to add "Job Role" # features/step_definitions/profiles/completeness_steps.rb:59
When I clean up the rest of profile fields # features/step_definitions/profiles/completeness_steps.rb:34
Then I should see "0%" profile completeness # features/step_definitions/profiles/completeness_steps.rb:45
And I should see completeness reminders for all fields # features/step_definitions/profiles/completeness_steps.rb:51
Failing Scenarios:
cucumber features/acceptance_features/profiles/completeness.feature:7 # Scenario: Display completeness editing profile
1 scenario (1 failed)
17 steps (1 failed, 8 skipped, 8 passed)
0m4.698s
Coverage report generated for Cucumber Features to /Users/c5168972/Documents/Projects/eod/expertondemand/coverage. 1008 / 1721 LOC (58.57%) covered.
berm00259937a:expertondemand c5168972$ cucumber features/acceptance_features/profiles/completeness.feature:7
Using the default profile...
/Users/c5168972/.rvm/gems/ruby-1.9.3-p0@expertondemand/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:239:in `block in require': iconv will be deprecated in the future, use String#encode instead.
@javascript
Feature: Profile completeness
As a user I would like to see an indication of my profile completeness
so I will know If I have provided sufficient information
Scenario: Display completeness editing profile # features/acceptance_features/profiles/completeness.feature:7
Given I am logged in # features/step_definitions/user_steps.rb:19
And I have empty profile # features/step_definitions/profiles/profile_steps.rb:7
When I am on the edit profile page # features/step_definitions/web_steps.rb:44
Then I should see "0%" profile completeness # features/step_definitions/profiles/completeness_steps.rb:45
And I should see completeness reminders for all fields # features/step_definitions/profiles/completeness_steps.rb:51
When I fill out the "Job Role" with "developer" # features/step_definitions/profiles/profile_steps.rb:41
Then I should see "20%" profile completeness # features/step_definitions/profiles/completeness_steps.rb:45
And I should not see the reminder to add "Job Role" # features/step_definitions/profiles/completeness_steps.rb:65
When I fill out the rest of profile # features/step_definitions/profiles/completeness_steps.rb:2
Then I should see "100%" profile completeness # features/step_definitions/profiles/completeness_steps.rb:45
And I should not see any reminders to complete profile # features/step_definitions/profiles/completeness_steps.rb:71
When I clean up the "Job Role" # features/step_definitions/profiles/profile_steps.rb:52
Then I should see "80%" profile completeness # features/step_definitions/profiles/completeness_steps.rb:45
And I should see the reminder to add "Job Role" # features/step_definitions/profiles/completeness_steps.rb:59
When I clean up the rest of profile fields # features/step_definitions/profiles/completeness_steps.rb:34
Then I should see "0%" profile completeness # features/step_definitions/profiles/completeness_steps.rb:45
And I should see completeness reminders for all fields # features/step_definitions/profiles/completeness_steps.rb:51
1 scenario (1 passed)
17 steps (17 passed)
0m6.707s
Coverage report generated for Cucumber Features to /Users/c5168972/Documents/Projects/eod/expertondemand/coverage. 1057 / 1721 LOC (61.42%) covered.
berm00259937a:expertondemand c5168972$ cucumber features/acceptance_features/profiles/completeness.feature:7
Using the default profile...
/Users/c5168972/.rvm/gems/ruby-1.9.3-p0@expertondemand/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:239:in `block in require': iconv will be deprecated in the future, use String#encode instead.
@javascript
Feature: Profile completeness
As a user I would like to see an indication of my profile completeness
so I will know If I have provided sufficient information
Scenario: Display completeness editing profile # features/acceptance_features/profiles/completeness.feature:7
Given I am logged in # features/step_definitions/user_steps.rb:19
And I have empty profile # features/step_definitions/profiles/profile_steps.rb:7
When I am on the edit profile page # features/step_definitions/web_steps.rb:44
Then I should see "0%" profile completeness # features/step_definitions/profiles/completeness_steps.rb:45
And I should see completeness reminders for all fields # features/step_definitions/profiles/completeness_steps.rb:51
When I fill out the "Job Role" with "developer" # features/step_definitions/profiles/profile_steps.rb:41
Then I should see "20%" profile completeness # features/step_definitions/profiles/completeness_steps.rb:45
And I should not see the reminder to add "Job Role" # features/step_definitions/profiles/completeness_steps.rb:65
When I fill out the rest of profile # features/step_definitions/profiles/completeness_steps.rb:2
Lexing error on line 18: 'tion value="1956">1956</option>'. See http://wiki.github.com/cucumber/gherkin/lexingerror for more information. (Gherkin::Lexer::LexingError)
./features/step_definitions/profiles/completeness_steps.rb:31:in `/^I fill out the rest of profile$/'
features/acceptance_features/profiles/completeness.feature:18:in `When I fill out the rest of profile'
Then I should see "100%" profile completeness # features/step_definitions/profiles/completeness_steps.rb:45
And I should not see any reminders to complete profile # features/step_definitions/profiles/completeness_steps.rb:71
When I clean up the "Job Role" # features/step_definitions/profiles/profile_steps.rb:52
Then I should see "80%" profile completeness # features/step_definitions/profiles/completeness_steps.rb:45
And I should see the reminder to add "Job Role" # features/step_definitions/profiles/completeness_steps.rb:59
When I clean up the rest of profile fields # features/step_definitions/profiles/completeness_steps.rb:34
Then I should see "0%" profile completeness # features/step_definitions/profiles/completeness_steps.rb:45
And I should see completeness reminders for all fields # features/step_definitions/profiles/completeness_steps.rb:51
Failing Scenarios:
cucumber features/acceptance_features/profiles/completeness.feature:7 # Scenario: Display completeness editing profile
1 scenario (1 failed)
17 steps (1 failed, 8 skipped, 8 passed)
0m8.235s
Coverage report generated for Cucumber Features to /Users/c5168972/Documents/Projects/eod/expertondemand/coverage. 1049 / 1721 LOC (60.95%) covered.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment