Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not detect errors in steps #1

Open
wolfmanjm opened this issue Dec 27, 2009 · 2 comments
Open

Does not detect errors in steps #1

wolfmanjm opened this issue Dec 27, 2009 · 2 comments

Comments

@wolfmanjm
Copy link

This is a great, except....
I modified the example sample.feature to be...

Then the result should be 123 on the screen

and it still passed...

erl -pa ebin -noshell -s sample main -s init stop
Feature: Addition                                                :1
  In order to avoid silly mistakes                               :2
  As a math idiot                                                :3
  I want to be told the sum of two numbers                       :4
                                                                 :5
  Scenario: Add two numbers                                      :6
    Given I have entered 50 into the calculator                  :7    ok
    And I have entered 70 into the calculator                    :8    ok
    When I press add                                             :9    ok
    Then the result should be 123 on the screen                  :10   ok
                                                                 :11

1 scenarios
4 steps
@DangerDawson
Copy link

I have experienced the same as well....

Is there something we are doing wrong?

@hyperthunk
Copy link
Contributor

Check out the latest build - this appears to be fixed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants