Ask Java Expert


Home >> Java

Software Development Assignment: Test-Driven Development and Graphical User Interface Programming

Section 1: Learning Objectives

  • To experience team-based program development using an approach similar to test driven development.
  • To develop a Graphical User Interface.
  • To develop your skills in object oriented design including: inheritance, encapsulation and polymorphism.
  • To develop your skills implementing software patterns.
  • To demonstrate your ability to write clear, understandable program code.

Section 2: Your Tasks

You must obtain the incomplete source tree from the assignment repository on BitBucket. The link to obtain the repository is listed above.

  • You will need to provide a solution to a problem written in the Java programming language.
  • The necessary functionality of your solution is described in this specification document.
  • In addition, you will be provided with a 'Javadoc' Application Programming Interface specification.
  • You must develop comprehensive test suites in JUnit for the classes produced by your partner.

Section 3: Scenario

Pizza Palace is a restaurant in West End, Brisbane. Last year, they had a group of students from Kingsland University of Technology develop a logging system that recorded orders placed at their restaurant. They would now like to produce a system that interprets the logs and displays the information on a Graphical User Interface (GUI).

Section 4: Downloading Code

You need to download some pre-existing code from a repository on BitBucket. The link for the repository is provided on the first page. You should import the repository into Eclipse using the steps outlined in the GitForPracs document available on Blackboard. You can find this document using the following steps: Blackboard->Learning Resources-> Help Guides and Other Resources.

Section 5: Problem Details

Your task is to write a Java program to analyse log files and display the derived information to a GUI. Each log file contains information about a set of pizza orders split into two main sections:

1. Information about the pizza being ordered; and

2. Information about the customer ordering the pizza.

There are certain constraints regarding the pizzas and customers which your program must adhere to. Here, we describe the constraints relating to pizzas and the customers, then we outline the log file and finally, describe the functionality required for the GUI.

Section 5.1 Pizzas

Section 5.2 Customers

Section 5.3 The Log Files

Section 5.4 The GUI

Section 6: Example Log File

Attached are some example log files (all with valid imput)

Section 7: Detailed Tasks

The source tree for the assignment includes the packages shown in Figure 2. The key subdirectories are:

  • src: This directory contains all the source code. As a team you will need to complete code for system functionality in the asgn2Customers, asgn2Pizzas, asgn2Resurant, asgn2GUis, asgn2Wizards packages as well as test code in the asgn2Tests package.
  • doc: This directory contains the API. It has been generated using the Javadoc tool on a complete system.
  • logs: This directory contains some test logs.
  • libs: This directory contains the libraries for JUnit and Hamcrest.

Section 7.1 Tasks by Package

Please Note: For all packages and classes carefully check that you have spelt the file's name correctly, otherwise it will not work with our automated marking software.

Section 8: Testing and Exceptions

The following principles need to be followed when dealing with testing and exceptions in Assignment. Please note that this these principles only refer to the classes in following packages: asgn2Pizzas, asgn2Customers, asgn2Restaurant, asgn2GUIs, asgn2Wizards. Exceptions in your JUnit tests should be handled as per the standard covered in lectures and tutorials.

Section 8.1 - What types of errors are there and where should errors be handled?

Section 8.2 - Propagating Exceptions Without Violating the API

Section 8.3 - Rethrowing the Same Exception

Section 9: Test Driven Development and Teams

Section 9.1 - Breakdown of Work

One of the keys aims of this assignment is to give you experience working in a team based test driven development scenario. Therefore, you should be designing and implementing the test cases for your partner and vice versa. As such, the breakdown of the work should be as listed in Table 5. For most of the classes you will be able to work individually (individual model classes and individual test classes). However, sometimes both team members will need to work on the same class and sometimes on the same method (shared model classes).

Section 9.2 - Forming Teams

Section 10: Additional APIs

We will cover the vast majority of work required to complete the assignment in class. However, there are some additional APIs which you will need to read yourself. This is not an uncommon practice in Java software development since the JDK is large and so programmers regularly use unfamiliar APIs. Note you should have already covered the desired functionality in your previous programming units, so you should know what needs to be done even if you don't know explicitly how it should be done in Java. Here, we have listed the some of the APIs and provided links to the Official Java Tutorial.

Section 11: Class Interaction

Section 12: Academic Integrity

Attachment:- Assignment Files.rar

Java, Programming

  • Category:- Java
  • Reference No.:- M92310837
  • Price:- $130

Guranteed 48 Hours Delivery, In Price:- $130

Have any Question?


Related Questions in Java

Chatbotscreate a small networked chat application that is

Chatbots Create a small, networked chat application that is populated by bots. Introduction On an old server park, filled with applications from the early days of the internet, a few servers still run one of the earliest ...

Assignment taskwrite a java console application that allows

Assignment task Write a java console application that allows the user to read, validate, store, display, sort and search data such as flight departure city (String), flight number (integer), flight distance (integer), fl ...

Assignment game prototypeoverviewfor this assessment task

Assignment: Game Prototype Overview For this assessment task you are expected to construct a prototype level/area as a "proof of concept" for the game that you have designed in Assignment 1. The prototype should function ...

Assignment taskwrite a java console application that allows

Assignment task Write a java console application that allows the user to read, validate, store, display, sort and search data such as flight departure city (String), flight number (integer), flight distance (integer), fl ...

In relation to javaa what is constructor the purpose of

(In relation to Java) A. What is constructor? the purpose of default constructor? B. How do you get a copy of the object but not the reference of the object? C. What are static variables and instance variables? D. Compar ...

Project descriptionwrite a java program to traverse a

Project Description: Write a java program to traverse a directory structure (DirWalker.java) of csv files that contain csv files with customer info. A simple sample in provided in with the sample code but you MUST will r ...

Fundamentals of operating systems and java

Fundamentals of Operating Systems and Java Programming Purpose of the assessment (with ULO Mapping) This assignment assesses the following Unit Learning Outcomes; students should be able to demonstrate their achievements ...

Assessment -java program using array of Assessment -JAVA Program using array of objects

Assessment -JAVA Program using array of objects Objectives This assessment item relates to the course learning outcomes as stated in the Unit Profile. Details For this assignment, you are required to develop a Windowed G ...

Applied software engineering assignment 1 -learning

Applied Software Engineering Assignment 1 - Learning outcomes - 1. Understand the notion of software engineering and why it is important. 2. Analyse the risk factors associated with phases of the software development lif ...

Retail price calculatorwrite a java program that asks the

Retail Price Calculator Write a JAVA program that asks the user to enter an item's wholesale cost and its markup percentage. It should then display the item's retail price. For example: (If an item's wholesale cost is 5. ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As