backlog

Module-Java πŸ”—  

Expand all

Mandatory Tasks

These tasks will help consolidate your learning for this sprint. You should complete as many of these as possible before class on Saturday.

Sprint Challenge: Testing the Customer Management System πŸ”— Clone

Sprint Challenge: Testing the Customer Management System πŸ”—

Sprint Challenge: Testing the Customer Management System

The code you write for this challenge is mandatory homework and should be completed and sent in a PR for review before class.

Bringing It All Together

Given the customer management system built in sprint 4 build unit tests for the major services and behaviours.

Requirements

Provide tests and javadoc for all the public methods of the following service implementations;

  • EmailMessageSender
  • SmsMessageSender
  • CustomerService
  • OrderService
  • ReportingService
  • InMemoryCustomerRepository
  • InMemoryOrderRepository

Provide javadoc for all the implementations above and for the following interfaces;

  • CustomerRepository
  • OrderRepository
  • MessageSender

Add logging to your system so that;

  • an identifier is assigned and recorded consistently in the logs for all parts of the order process
  • you can see when an order is being placed and the final status
  • debug level information is recorded when the order total is calculated
  • the message sender confirms the message is sent

Submission & Review

Fork the coursework repo to your own GitHub account. Make regular small commits with clear messages. When you are ready, open a Pull Request to the CYF repo. Make sure you fill in the PR template provided. A volunteer will review your submission and send you feedback.