Answered step by step
Verified Expert Solution
Question
1 Approved Answer
22:03 PM All 74% HomeWork2.pdf SE430 - Homework 2 ATM Case study - Overall Description The attached Java code implements an ATM desktop application prototype.
22:03 PM All 74% HomeWork2.pdf SE430 - Homework 2 ATM Case study - Overall Description The attached Java code implements an ATM desktop application prototype. Using this application, you can query balance, withdraw, and deposit money. Before doing any of these transactions, the user must log in to the ATM using a valid PIN. Requirements of Homework 2 In this homework, you are required to perform white-box testing and achieve the maximum line coverage (not decision or branch). The line coverage should be measured using the code coverage tool, which is already integrated with the Eclipse IDE. To document your test cases, you should implement them as JUnit test cases. Moreover, you should include all your JUnit test cases within a JUnit test suite. After that, you can run the Unit test suite as code coverage and record the achieved line coverage You should submit the following: 1 2) A snapshot from eclipse that shows the achieved line coverage after executing the test suite that includes all the test cases. Requirements of Bonus 1 Write a report that describes the challenges you faced to achieve maximum coverage. Also, any suggestion that would make the white box testing for the given code more effective
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started