-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from BME-MIT-IET/bdd-tests
Bdd tests
- Loading branch information
Showing
6 changed files
with
221 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
src/test/resources/hellocucumber/szabotor_garancias_csovet_ront.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# new feature | ||
# Tags: optional | ||
|
||
Feature: A szabotor nem tudja elrontani a csovet, mert foltozasi garancia van rajta | ||
|
||
Scenario: A szabotor megprobal elrontani egy csovet, de foltozasi garancia van rajta, ezert nem jar sikerrel. | ||
Given Egy tábla egy pumpaval ("p1") egy forrassal ("f1"), koztuk egy csovel ("cs1"). | ||
And Egy szerelo ("sz1"), ami "cs1"-n all. | ||
And Egy szabotor ("sz2"), ami "p1"-n all. | ||
And A "cs1" cso torott. | ||
And "sz1" szerelo megjavitja a mezot amin all | ||
And Eltelik egy kor. | ||
And "sz1" szerelo ellep az 1 mezore | ||
And "sz2" szabotor ellep az 0 mezore | ||
And Eltelik egy kor. | ||
When "sz2" szabotor megprobalja elrontani a csovet amin all | ||
Then "cs1" cso nem torott |
11 changes: 11 additions & 0 deletions
11
src/test/resources/hellocucumber/szerelo_csovet_javit.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# new feature | ||
# Tags: optional | ||
|
||
Feature: A szerelo megjavitja a torott csovet, ami ezutan nem torott | ||
|
||
Scenario: A szerelo megprobal megjavitani egy torott csovet, és sikerrel jar. | ||
Given Egy tábla egy pumpaval ("p1") egy forrassal ("f1"), koztuk egy csovel ("cs1"). | ||
And A "cs1" cso torott. | ||
And Egy szerelo ("sz1"), ami "cs1"-n all. | ||
When "sz1" szerelo megprobalja megjavitani a mezot amin all | ||
Then "cs1" cso nem torott |
10 changes: 10 additions & 0 deletions
10
src/test/resources/hellocucumber/szerelo_felvesz_csoveget.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# new feature | ||
# Tags: optional | ||
|
||
Feature: A szerelo felvesz egy csoveget amin nem all senki | ||
|
||
Scenario: A szerelo megprobal felvenni egy csoveget, amin nem all senki, és sikerrel jar. | ||
Given Egy tábla egy pumpaval ("p1") egy forrassal ("f1"), koztuk harom csovel ("cs1"), ("cs2"), ("cs3"). | ||
And Egy szerelo ("sz1"), ami "p1"-n all. | ||
When "sz1" szerelo megprobalja felvenni a szomszedos csovet | ||
Then "sz1" szerelonel van a "cs3" cso vege |
10 changes: 10 additions & 0 deletions
10
src/test/resources/hellocucumber/szerelo_felvesz_pumpat_pumpara.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# new feature | ||
# Tags: optional | ||
|
||
Feature: A szerelo nem tud felvenni pumpat, mert forrason all | ||
|
||
Scenario: A szerelo megprobal felvenni egy pumpat, de forrason all, ezert nem jar sikerrel. | ||
Given Egy tábla egy pumpaval ("p1") egy forrassal ("f1"), koztuk egy csovel ("cs1"). | ||
And Egy szerelo ("sz1"), ami "f1"-n all. | ||
When "sz1" szerelo megprobal felvenni egy pumpat | ||
Then "sz1" szerelonel nincsen pumpa |