Even complicated and confusing topics will be easily developed and covered if you request our help writing an essay. Place an order today!

Question Description

CSCI-2467 Lab 7 – JavaDoc, Unit Testing, and GitHub

Download the Lab7.zip starter file. Use 7zip to unzip the file using ‘Extract Here’. Open the project folder in IntelliJ.

Examine the code and try running the program. Make sure you completely understand how the program works.

Step 1 – JavaDoc

Add documentation to the RPSLSpock.java source code file. Make sure that you document the class and all methods in the file. Be sure to use the following annotations:

@author – for the class, list yourself as the author

@param – define each method parameter

@return – explain the return values of each method

Note: these JavaDoc tags and more are documented in the Schildt book in Appendix A.

In IntelliJ, if you enter /** followed by the ENTER key on a blank line preceding a method, IntelliJ will automatically generate a JavaDoc comment template for that method. Be sure and fill in additional information including purpose of the method, purpose of the parameters, and possible return values.

To verify your JavaDoc comments generate (and view) the JavaDoc documentation in an external folder. Examine the documentation and make sure it is correct. If not, fix your documentation and re-generate it. Do not turn in your assignment yet, you are not finished.

Step 2 – Unit Testing

Look at the unit tests in the RPSLSpockTest folder. Try running the unit tests. Add four additional tests to the isValidPick test method in the RPSLSpockTest class. Add three tests for the other three possible valid method arguments (rock, paper, and scissors) that have not been tested.

The RPSLSpock.isValidPick() method should return false if you pass it an invalid argument (such as the String “banana”). Add a fourth test to verify this. Run your unit tests and make sure they work.

testimonials icon
Vinny is seen studying a book about Alabama Laws. His research will have to include both procedural and substantive law. Why does he have to study...
testimonials icon
In cell K3, insert the SUMIF function to total the salaries for employees who   work in Iowa, using the state abbreviation column and the state abbr...
testimonials icon
Assignment 14 – 520 DS answer the following questions: 1. Is hospital readmission an indicator...
testimonials icon
Chapter 16 Electronic Health Records Margret Amatayakul, MBA, RHIA, CHPS, CPHIT, CPEHR, FHIMSS Real-World Case...
testimonials icon
  Ashford 4: - Week 3 - Discussion 1 Your initial discussion thread is due on Day 3 (Thursday) and you hav...
testimonials icon
Based on the lectures from this week, answer the following questions regarding your research. For each, explain: My research is Helping behavior ,...
testimonials icon
Child Custody Ethics Read the Guidelines for Child Custody Evaluations in Family Law Proceedings and review the pertinent sections...
testimonials icon
                                  Practicum – Week 2 Journal Entry�...
testimonials icon
Unit10000CostRaw materialPlastic CostBumper Manufacturing CostCost to XYZ Motor companyRepair shopCustomerTotal ProfitFailure CostIn million failure...
testimonials icon
Question Description Introducti...
testimonials icon
Response: Evidence-Based and Non-Evidence-Based Programs ·      Pos...
testimonials icon
golshani (ag5873) Homework 05 yao (57045)1This print-out should have 14 questions.Multiple-choice questions may continue onthe next column or page fi...

Other samples, services and questions:

Calculate Price

When you use PaperHelp, you save one valuable — TIME

You can spend it for more important things than paper writing.

Approx. price
$65
Order a paper. Study better. Sleep tight. Calculate Price!
Created with Sketch.
Calculate Price
Approx. price
$65