Overview

As you have learned in previous modules, there are various types of software testing that can be employed for a given situation. As you did in the Module Three milestone, for this assignment, you will be creating unit tests using code to uncover errors in a mobile application. You will develop the task service and task object.

Prompt

For Project One, which is due in Module Six, you are asked to develop a mobile application for a customer. The customer will provide you with the requirements. Your job is to code the application and provide unit tests to verify that the application meets the customer's requirements. For this milestone, you will focus on delivering the task services. The purpose of these services is to add, update, and delete task objects within the application.

The task service uses in-memory data structures to support storing tasks (no database required). In addition, there is no user interface for this milestone. You will verify the task service through JUnit tests.

The task service contains a task object along with the task service. The requirements are outlined below.

Task Class Requirements

  • The task object shall have a required unique task ID String that cannot be longer than 10 characters. The task ID shall not be null and shall not be updatable.
  • The task object shall have a required name String field that cannot be longer than 20 characters. The name field shall not be null.
  • The task object shall have a required description String field that cannot be longer than 50 characters. The description field shall not be null.

Task Service Requirements

  • The task service shall be able to add tasks with a unique ID.
  • The task service shall be able to delete tasks per task ID.
  • The task service shall be able to update task fields per task ID. The following fields are updatable:
    • Name
    • Description
Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.