Group 5: Failed tests
Link to repository: https://git.rwth-aachen.de/andypie/sqa-project
-------------------------------------------------------------------------------
Test set: de.rwth.swc.sqa.TicketTests
-------------------------------------------------------------------------------
Tests run: 65, Failures: 12, Errors: 21, Skipped: 0, Time elapsed: 2.878 s <<< FAILURE! - in de.rwth.swc.sqa.TicketTests
whenBuyTicket_invalidTicketRequest_then400{String}[1] Time elapsed: 0.08 s <<< FAILURE!
java.lang.AssertionError:
1 expectation failed.
Expected status code <400> but was <201>.
at de.rwth.swc.sqa.TicketTests.whenBuyTicket_invalidTicketRequest_then400(TicketTests.java:164)
whenBuyTicket_invalidTicketRequest_then400{String}[2] Time elapsed: 0.028 s <<< FAILURE!
java.lang.AssertionError:
1 expectation failed.
Expected status code <400> but was <201>.
at de.rwth.swc.sqa.TicketTests.whenBuyTicket_invalidTicketRequest_then400(TicketTests.java:164)
whenBuyTicket_invalidTicketRequest_then400{String}[3] Time elapsed: 0.032 s <<< FAILURE!
java.lang.AssertionError:
1 expectation failed.
Expected status code <400> but was <201>.
at de.rwth.swc.sqa.TicketTests.whenBuyTicket_invalidTicketRequest_then400(TicketTests.java:164)
whenBuyTicket_invalidTicketRequest_then400{String}[4] Time elapsed: 0.026 s <<< FAILURE!
java.lang.AssertionError:
1 expectation failed.
Expected status code <400> but was <201>.
at de.rwth.swc.sqa.TicketTests.whenBuyTicket_invalidTicketRequest_then400(TicketTests.java:164)
whenBuyTicket_invalidTicketRequest_then400{String}[5] Time elapsed: 0.027 s <<< FAILURE!
java.lang.AssertionError:
1 expectation failed.
Expected status code <400> but was <201>.
at de.rwth.swc.sqa.TicketTests.whenBuyTicket_invalidTicketRequest_then400(TicketTests.java:164)
whenBuyTicket_invalidTicketRequest_then400{String}[6] Time elapsed: 0.027 s <<< FAILURE!
java.lang.AssertionError:
1 expectation failed.
Expected status code <400> but was <201>.
at de.rwth.swc.sqa.TicketTests.whenBuyTicket_invalidTicketRequest_then400(TicketTests.java:164)
whenBuyTicket_invalidTicketRequest_then400{String}[8] Time elapsed: 0.03 s <<< FAILURE!
java.lang.AssertionError:
1 expectation failed.
Expected status code <400> but was <201>.
at de.rwth.swc.sqa.TicketTests.whenBuyTicket_invalidTicketRequest_then400(TicketTests.java:164)
whenBuyTicket_invalidTicketRequest_then400{String}[9] Time elapsed: 0.027 s <<< FAILURE!
java.lang.AssertionError:
1 expectation failed.
Expected status code <400> but was <201>.
at de.rwth.swc.sqa.TicketTests.whenBuyTicket_invalidTicketRequest_then400(TicketTests.java:164)
whenBuyTicket_invalidTicketRequest_then400{String}[10] Time elapsed: 0.025 s <<< FAILURE!
java.lang.AssertionError:
1 expectation failed.
Expected status code <400> but was <201>.
at de.rwth.swc.sqa.TicketTests.whenBuyTicket_invalidTicketRequest_then400(TicketTests.java:164)
whenBuyTicket_thenCreated{String}[9] Time elapsed: 0.047 s <<< FAILURE!
java.lang.AssertionError:
1 expectation failed.
Expected status code <201> but was <500>.
at de.rwth.swc.sqa.TicketTests.whenBuyTicket_thenCreated(TicketTests.java:61)
whenBuyTicket_thenCreated{String}[10] Time elapsed: 0.031 s <<< FAILURE!
java.lang.AssertionError:
1 expectation failed.
Expected status code <201> but was <500>.
at de.rwth.swc.sqa.TicketTests.whenBuyTicket_thenCreated(TicketTests.java:61)
whenBuyTicket_withoutStudent_thenStudentFalse Time elapsed: 0.029 s <<< FAILURE!
java.lang.AssertionError:
1 expectation failed.
Expected status code <201> but was <500>.
at de.rwth.swc.sqa.TicketTests.whenBuyTicket_withoutStudent_thenStudentFalse(TicketTests.java:85)
-
whenBuyTicket_invalidTicketRequest_then400
: have a look at their strings [1 - 10]: seems to be related to age vertification when buying tickets (#42 (closed), #46 (closed)) -
whenBuyTicket_thenCreated
: Here something really is going wrong on our end, we should never have an reponse code of500
-
whenBuyTicket_withoutStudent_thenStudentFalse
: We should never return a500
, there seems to be a bug.
Edited by Jasper vom Felde