Skip to content

Sprint Challenge: Testing the Customer Management System #7

@Ara225

Description

@Ara225

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions