Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Part1 #4

Open
wants to merge 76 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
03e8abb
first commit
Feb 18, 2024
4c9492e
start commit
Feb 19, 2024
6c5ef08
set up db and security mode
Feb 19, 2024
ea99f8f
start test spring security
Feb 19, 2024
9937918
failed test shouldNotReturnStatusOk in UserControllerTest
Feb 19, 2024
b2b4a24
pass test shouldNotReturnStatusOk in UserControllerTest
Feb 19, 2024
2a92c74
failed test shouldNotReturnHttpStatusOK in AdminControllerTest
Feb 19, 2024
bb43902
pass test shouldNotReturnHttpStatusOK in AdminControllerTest
Feb 19, 2024
448f96f
failed shouldNotReturnHttpStatusOK in TestLotteryControllerTest class
Feb 19, 2024
8481798
pass shouldNotReturnHttpStatusOK in TestLotteryControllerTest class
Feb 19, 2024
b570a80
failed shouldNotReturnEntity TestLotteryControllerTest.class
Feb 19, 2024
194a12d
pass shouldNotReturnEntity TestLotteryControllerTest.class
Feb 19, 2024
2c92a22
failed shouldReturnEntityWithCorrectTicketNumber TestLotteryControlle…
Feb 19, 2024
1bd1222
start section EXP01
Feb 19, 2024
b363894
failed shouldReturnEntity AdminControllerTest.class
Feb 19, 2024
717912a
pass shouldReturnEntity AdminControllerTest.class
Feb 19, 2024
7815885
failed shouldReturnListOfEntity AdminControllerTest.class
Feb 19, 2024
8c97b6d
pass shouldReturnListOfEntity AdminControllerTest.class
Feb 19, 2024
4aa5aa5
failed EXP01 task
Feb 19, 2024
22c3974
pass EXP01 task : checkDuplicate Lottery created
Feb 19, 2024
01f7549
failed EXPO1 taks:shouldReturnCreatedNewLotteryRequest
Feb 19, 2024
45a08d2
pass EXP01 : shouldReturnCreatedNewLotteryRequest
Feb 19, 2024
130b7ec
pause
Feb 19, 2024
791781c
push and pause
Feb 19, 2024
cb817a5
resume
Feb 20, 2024
f9fda4e
failed EXP01 task: checkDuplicate 2nd
Feb 20, 2024
05c8b47
pass EXP01 task : checkDupliate 2nd
Feb 20, 2024
c02dada
failed EXP01 task : check notExist lettery ticket
Feb 20, 2024
d35c12f
pass EXP01 task : check notExist lettery ticket
Feb 20, 2024
132b07f
failed EXP01 task :check return response body
Feb 20, 2024
5ba829f
pass EXP01 task :check return response body
Feb 20, 2024
3cfb66d
finished EXP01 i guess (phewwww)
Feb 20, 2024
85eadd9
failed EXP02 task: should return null
Feb 20, 2024
1308a07
pass EXP02 task: should return non null
Feb 20, 2024
7784d51
pass EXP02 task: should return UserResponse
Feb 20, 2024
75e07f7
start EXP03
Feb 20, 2024
86bf829
failed EXP03 : Connect with User_ticket shouldNotReturnANull
Feb 20, 2024
e1a27d5
pass EXP03 : Connect with User_ticket shouldNotReturnANull
Feb 20, 2024
e4c144a
pause at EXP03
Feb 20, 2024
1c527d0
EXP03 test 2nd
Feb 21, 2024
644d413
failed EXP03 test: shouldReturn HTTPStatusOK
Feb 21, 2024
3b107aa
pass EXP03 test: shouldReturn HTTPStatusOK
Feb 21, 2024
01b4b23
failed EXP03 test: shouldReturn HTTPStatusOK and Body
Feb 21, 2024
82a0968
pass EXP03 test: shouldReturn HTTPStatusOK and Body
Feb 21, 2024
36c7146
failed EXP03 test: shouldReturn Body with Profile
Feb 21, 2024
d8f0a6e
pass EXP03 test: shouldReturn Body with Profile
Feb 21, 2024
033c2e7
failed EXP03 test: shouldReturn Body with Id from user_ticket
Feb 21, 2024
fa80da3
pass EXP03 test: shouldReturn Body with Id from user_ticket
Feb 21, 2024
c845db1
Pass EXP03
Feb 21, 2024
b8230e4
failed EXP04 test:shouldReturn Status OK
Feb 21, 2024
e7ccf80
pass EXP04 test:shouldReturn Status OK
Feb 21, 2024
aa1b18a
failed EXP04 test:shouldReturn Status OK with correct path variable
Feb 21, 2024
d8ba931
pass EXP04 test:shouldReturn Status OK with correct path variable
Feb 21, 2024
f291d46
failed EXP04 test: get all lottery ticket by user
Feb 21, 2024
4f00f37
pass EXP04 test: get all lottery ticket by user
Feb 21, 2024
8e02363
restructure test
Feb 21, 2024
5e22497
pause
Feb 21, 2024
4fd6bbc
falied EXP04 : exist userId return true
Feb 21, 2024
92c6d37
pass EXP04 : exist userId return true
Feb 21, 2024
29d294e
failed EXP04 : return List of lottery that existedUserId have
Feb 21, 2024
a4f1477
pass EXP04 : return List of lottery that existedUserId have
Feb 21, 2024
4e65d11
finished EXP04
Feb 21, 2024
8c935cf
failed EXP05 : shouldReturnStatus OK
Feb 22, 2024
f53bd2c
pass EXP05 : shouldReturnStatus OK
Feb 22, 2024
48d1ddd
failed Should return NOT_FOUND when selling back a non-existent lotte…
Feb 22, 2024
137a041
pass Should return NOT_FOUND when selling back a non-existent lottery…
Feb 22, 2024
d8467eb
failed EXP05 : Should return the lottery associated with the given us…
Feb 22, 2024
4e84d09
pass EXP05 : Should return the lottery associated with the given user ID
Feb 22, 2024
3ad2043
failed EXP05 :Should return a list of lotteries associated with the g…
Feb 22, 2024
ba97225
pass EXP05 :Should return a list of lotteries associated with the giv…
Feb 22, 2024
e659c83
start config container
Feb 23, 2024
42c70ce
finish EXP05
Feb 24, 2024
d64a579
test case all pass
Feb 24, 2024
6ebb6a5
finist api design 00
Feb 24, 2024
78eeb80
a
Feb 24, 2024
21d86fd
add GlobalExceptionHandler
Feb 25, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
first commit
  • Loading branch information
global committed Feb 18, 2024
commit 03e8abba96fbd92e0ae9d8c79781d5230dc54df6
14 changes: 14 additions & 0 deletions posttest/build.gradle
Original file line number Diff line number Diff line change
@@ -33,3 +33,17 @@ dependencies {
tasks.named('test') {
useJUnitPlatform()
}

test {
testLogging {
events "passed", "skipped", "failed" //, "standardOut", "standardError"

showExceptions true
exceptionFormat "full"
showCauses true
showStackTraces true

// Change to `true` for more verbose test output
showStandardStreams = false
}
}