-
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.
- Loading branch information
Showing
13 changed files
with
54 additions
and
49 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,42 @@ | ||
#### Integráiós és ellenőrzési technikák | ||
#### Villamosmérnöki és Informatikai Kar | ||
#### Budapesti Műszaki és Gazdaságtudományi Egyetem | ||
|
||
## BDD Teszt | ||
# Beszámoló | ||
### Körösladányi Gergő -- FZZJFT | ||
### Ködöböcz Mátyás -- PDYOJN | ||
|
||
### Alkalmazás | ||
A teszteléshez a Cucumber alaklamazást használtam. A pom.xml fájlba be kellett írni a megfelelő függőségeket. | ||
A Cucumberben írt BDD tesztek csak akkor működtek ha maven a projekt ezért első lépésként a maven projektet kellett létrehozni. | ||
|
||
### Tesztek | ||
Hat fő tesztcsoportot hoztam létre, az elsők egyszerűbbek, a vége felé vannak komplexebbek is: | ||
* *BDDChangePipeIN.feature*: Leteszteli hogy amikor megnyomjuk a megfelelő gombokat ténylegesen megváltozik-e a pumpába bemenő cső. | ||
* *BDDChangePipeOut.feature*: Leteszteli hogy amikor megnyomjuk a megfelelő gombokat ténylegesen megváltozik-e a pumpába kimenő cső. | ||
* *BDDDestroyPipe.feature*: A megfelelő gombok lenyomása után tönkreteszi a játékos a csövet amin átment. | ||
* *BDDMakePipeSticky.feature*: A megfelelő gombok lenyomása után ragadóssá válik a cső amin előzőleg áthaladt. | ||
* *BDDNomadMakesPipeSlippery.feature*: A megfelelő gombok lenyomása után a nomád csúszóssá teszi a csövet amin áthaladt. | ||
* *BDDPickUpNewPipe.feature*: A megfelelő gombok lenyomása után felvessz a szerelő a kiindulási helyén 1 új csövet. | ||
* *BDDPickUpPipe.feature*: A megfelelő gombok lenyomása után felvesszük a pumpához kapcsolódó kiválasztott csövet. | ||
* *BDDPickUpPump.feature*: A megfelelő gombok lenyomása után a szerelő felvesz egy pumpát a kiindulási helyén. | ||
* *BDDPlumberMoves.feature*: A megfelelő gombok lenyomása után a szerelő átlép egy másik pumpára. | ||
* *BDDRepairBrokePipe.feature*: A megfelelő gombok lenyomása után a törött cső megjavítódik. | ||
* *BDDStart.feature*: Elindul a program és rá kell nyomni a start gombra. | ||
|
||
### Eredmények | ||
A tesztek mindegyike sikeresen lefut és nem jelez hibát. Ez arra utal, hogy korábban nagyon jó kódot írtunk. | ||
|
||
### Fájlok | ||
* src | ||
* test | ||
* java | ||
* com.stepDefinition | ||
itt vannak a konkrét függvények | ||
|
||
* src | ||
* test | ||
* resources | ||
* Features | ||
itt vannak a tesztek |
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
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
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
4 changes: 1 addition & 3 deletions
4
.../stepDefinition/UIPickUpNewPipeSteps.java → ...stepDefinition/BDDPickUpNewPipeSteps.java
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
10 changes: 1 addition & 9 deletions
10
...com/stepDefinition/UIPickUpPipeSteps.java → ...om/stepDefinition/BDDPickUpPipeSteps.java
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
11 changes: 1 addition & 10 deletions
11
...com/stepDefinition/UIPickUpPumpSteps.java → ...om/stepDefinition/BDDPickUpPumpSteps.java
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
10 changes: 1 addition & 9 deletions
10
...m/stepDefinition/UIPlumberMovesSteps.java → .../stepDefinition/BDDPlumberMovesSteps.java
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
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