Behaviour: MergedPullRequestService/record completion day for pull requests
Milestone: Pull request management
Behaviour description:
Annotations for the test cases:
@TestedBehaviour("record completion day for pull requests")
@TestedService("MergedPullRequestService")
The production code is at com.kodekonveyor.market.tasks.MergedPullRequestService.java
The testbase is at com.kodekonveyor.market.tasks.MergedPullRequestServiceTestBase.java
The testcase is at com.kodekonveyor.market.tasks.MergedPullRequestServiceRecordCompletionDayForPullRequestsTest.java
The service:
MergedPullRequestService
How to work:
identify what of the above is relevant to your service
come up with a test about the relevant part
create a new empty test
make sure that the test description is understandable for the end user
put it to @DisplayName annotation for the test
write the test according to the test description
see the test fail in the right way
write the production code needed to pass the test, and no more
see the test pass
get rid of any PMD violations, comments and other problems in the code
see that all tests pass
repeat until you covered all the relevant parts of the behaviour
submit your pull request against the milestone of the task
Behaviour: MergedPullRequestService/record completion day for pull requests Milestone: Pull request management
Behaviour description:
Annotations for the test cases:
The production code is at com.kodekonveyor.market.tasks.MergedPullRequestService.java The testbase is at com.kodekonveyor.market.tasks.MergedPullRequestServiceTestBase.java The testcase is at com.kodekonveyor.market.tasks.MergedPullRequestServiceRecordCompletionDayForPullRequestsTest.java
The service:
MergedPullRequestService
How to work:
If you have questions, see the FAQ, or ask on our discord channel or ask your mentor.