replace #BAEL-913 test scenario with simple add and sum test (#1895)

This commit is contained in:
Tian Baoqiang
2017-05-22 13:46:43 -05:00
committed by Grzegorz Piwowarek
parent 28adbeb53d
commit 4fd99ca7a5
36 changed files with 680 additions and 738 deletions
@@ -3,11 +3,11 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:util="http://www.springframework.org/schema/util"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd">
<util:properties id="konami_props">
<prop key="code">
↑↑↓↓←→←→BA
<util:properties id="props">
<prop key="adder">
4
</prop>
</util:properties>
</beans>
@@ -0,0 +1,11 @@
Meta:
Narrative:
As user
I want to add a number
So that I can have the sum
Scenario: A user can submit a number to adder and get current sum
Given a number
When I submit another number 5 to adder
Then I get a sum of the numbers
@@ -1,12 +0,0 @@
Meta:
Narrative:
As a KONAMI player
I want to cheat
So that I can unlock hidden stages of the game
Scenario: A KONAMI player can use the cheatcode to unlock hidden stages
Given game stage cleared
And KONAMI cheat code
When I input the cheat code
Then a hidden stage will be unlocked