Find Jobs
Hire Freelancers

Project6 Software Implementation Using Test Driven Development

$10-30 USD

Closed
Posted about 3 years ago

$10-30 USD

Paid on delivery
Mission: You were hired to implement usingJava a Train system simulation, designed by a developer who suddenly left the team. You are provided with the design specification document ([login to view URL]) and unit test suite ([login to view URL]). You are to assume that design description is correct for what each class and method is supposed to do and so are the JUnit tests and yourJava code is supposed to match them. Objectives: You must implement the system using the given design and make sure that all the unit tests pass against your code. Your program must implement the complete design to include all the classes, methods, constructors, constants, and attributes, and the input and output specification exactly. You cannot redesign or change the system. Steps: • Create a new project in Eclipse and import the unit tests ([login to view URL]) and data files into your projects src. Add JUnit library to your Eclipse project • Note that you will have syntax errors in the tests until you create all the classes • The unit test suite is divided into the basic and advanced tests for each Java class. • You should first implement (for each class) the attributes, constants, and empty methods (method signatures) to pass the basic tests. • Then you should start implementing each method running the appropriate tests against it. • To run an individual test, highlight the test method name, right click on it, select “Run As” and select “JUnit Test” • Train’s simulate method has been implemented for you. Copy and paste the code in [login to view URL] to your Train class. • Run the code and unit tests against them until all defects are fixed • For default file tests under TestSimulatorAdvancedyou will need to run them individually with and without that file being on your system (C:/train/[login to view URL]). Check comments for tests which tests require the file and which not • Once all the unit tests are working, create a sample input file and run the program with it. Capture the screenshot of the output • Warning: If you use Scanner for reading console and/or file, do not close it because when you try to use again it will not work. Resources: [login to view URL] – lists the grading criteria You can use any code examples under My Course Content->Code Examples Deliverables: • Your program files - all .java files (one java file per class) • Sample data file – [login to view URL] • Output screenshot – paste into Word doc – [login to view URL]
Project ID: 29986703

About the project

Remote project
Active 3 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs

About the client

Flag of UNITED STATES
Hialeah, United States
0.0
0
Member since Apr 4, 2021

Client Verification

Other jobs from this client

JAVA UNIT TESTING
$10-30 USD
Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.