You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Huidige werking:
Martin had een requirement in de lessen genoemd waar een match doorgespeeld kon worden als de applicatie onverwachts gesloten was. Daar hebben wij destijds de PlayState Enum voor geïmplementeerd.
Verwachte werking:
Wanneer een speler het spel stopt doormiddel van het kruisje, zal dat spel doorgespeeld kunnen worden wanneer de speler de applicatie opnieuw opstart. Wanneer de speler een match stopt doormiddel van de "Stop Match" knop zal de niet gefinishte match uit de database verwijderd worden.
Risico's
Laag risico, delete functie aanroepen en nieuwe logica voor match start.
Test 1 "Applicatie tijdens match afsluiten" :
Voorbereiding:
Verwijder de "DARTS_DATABASE.sqlite" file in DARTS\DARTS\bin\Debug\netcoreapp3.1
Start het programma op.
Klik op de "Start Match" knop.
Vul bij player1 & player2 "Bib" en "Bob" in.
Vul bij de Sets en Legs "1" in.
Zet de stating player op "Player1".
Klik op de "Start Match" knop.
Test:
Vul bij worp 1, worp 2 en worp 3 "Tripple 20" in.
Klik op de "Next turn" knop.
Sluit de applicatie doormiddel op het kruisje rechtsboven in het scherm te klikken.
Start het programma op.
Klik op de "Start Match" knop.
Geslaagd als:
Het programma het scoreInputView weergeeft, waar player2 aan de beurt is en de score bij player1 "321" is.
Test 2 "Match stoppen cancel:
Voorbereiding:
Voer Test 1 uit.
Test:
Klik op de "Stop Match" knop.
Klik "Cancel" in de popup die verschijnt.
Geslaagd als:
Het programma hetzelfde scherm blijft weergeven.
Test 3 "Match stoppen:
Voorbereiding:
Voer Test 2 uit.
Test:
Klik op de "Stop Match" knop.
Klik "Ok" in de popup die verschijnt.
Klik op de "Start Match" knop.
Geslaagd als:
Het programma het StartMatchView weergeeft.
The text was updated successfully, but these errors were encountered:
Omschrijving
Huidige werking:
Martin had een requirement in de lessen genoemd waar een match doorgespeeld kon worden als de applicatie onverwachts gesloten was. Daar hebben wij destijds de PlayState Enum voor geïmplementeerd.
Verwachte werking:
Wanneer een speler het spel stopt doormiddel van het kruisje, zal dat spel doorgespeeld kunnen worden wanneer de speler de applicatie opnieuw opstart. Wanneer de speler een match stopt doormiddel van de "Stop Match" knop zal de niet gefinishte match uit de database verwijderd worden.
Risico's
Laag risico, delete functie aanroepen en nieuwe logica voor match start.
Test 1 "Applicatie tijdens match afsluiten" :
Voorbereiding:
Test:
Geslaagd als:
Het programma het scoreInputView weergeeft, waar player2 aan de beurt is en de score bij player1 "321" is.
Test 2 "Match stoppen cancel:
Voorbereiding:
Test:
Geslaagd als:
Het programma hetzelfde scherm blijft weergeven.
Test 3 "Match stoppen:
Voorbereiding:
Test:
Geslaagd als:
Het programma het StartMatchView weergeeft.
The text was updated successfully, but these errors were encountered: