Skip to content

In this assignment, you are going to improve your project by providing more feature implementation, improve documentation using Javadoc, and improve code quality by writing unit test cases using Junit.

Notifications You must be signed in to change notification settings

oiricaud/JavaDoc-and-Unit-Testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

We divided the assignment into 3 different folders, each folder are independent from each other. In other words, each folder contains a unique use case we have identify for our project (Read Task 3 for more info) In each of these folders we successfuly included the Javadoc and JUnit cases (Task 1 and Task 2).

Below you can find the assignment that was assign to our group. Contributors are Jessica Dozal and Marina Chong.

Javadoc & Unit Tests

Due November 17th by end of day on Blackboard

In this assignment, you are going to improve your project by providing more feature implementation, improve documentation using Javadoc, and improve code quality by writing unit test cases using Junit.

Task 1: Javadoc Refer to the Javadoc lecture notes, and Javadoc help and examples available online (for example: http://www.oracle.com/technetwork/articles/java/index-137868.html). Add Javadoc features to your project and satisfy the following:

For each class, document the author, the version For each method, document parameter details. Describe the return value for methods that have a return value (other than void return type) Document Packages and Class usage Use @see to refer to another method or class, as appropriate Submission Guidelines 1. Java source code with Javadoc annotations. 2. Generated Javadoc documentation.

Task 2: Junit tests Refer to the Junit topic discussed in class, and to Junit best practices available online (for example: http://www.kyleblaney.com/junit-best-practices/). Add Junit test cases to your project satisfying the following.

At minimum, utilize the following assert statements as appropriate: a. assertEquals(a,b) b. assertFalse(a) c. assertNotSame(a, b) d. assertNull(a) e. assertSame(a,b) f. assertTrue(a) At minimum, each method should be tested using two assert statements. At minimum, each implemented use case should be tested using two Junit test cases. Submission Guidelines 1. Java source code with Junit tests. 2. Sample runs showing Junit test results.

Task 3: Implement 3 use cases you have identified for your project.

Chose three use cases that you have identified for your project and implement them in Java. Include the implemented use cases in your submission.

About

In this assignment, you are going to improve your project by providing more feature implementation, improve documentation using Javadoc, and improve code quality by writing unit test cases using Junit.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published