Java Unit Testing Practice | MyFax.java

Unit Testing

Explain in this section here how unit test should be approached. Include in your discussion answers to the following questions: What are the goals and objectives for unit test? What are the key criteria for unit test to be complete – how do you know you are done unit testing? What kind of testing is unit test (black-box, white-box, boundary, etc.) and make sure to explain what that type of testing does? What are code coverage and data coverage and how they relate to unit test? What are test characteristics that you learned about in week 3 of this course? Name them and explain in your own words. Who normally writes and executes unit test? How do you determine that a defect has been found in UT? As defects are found during unit test who then fixes them? What happens next after defect is fixed in the code being tested? Be as complete and thorough in your discussion demonstrating your understanding of Unit Test.

100% Code Coverage Test Cases

Test Case 1 
Test case name:  
Method being tested:  
Short Description:  
Input Data to constructor and/or method you are testing:  
Expected Results:  

Additional Test Cases for Data Coverage

Test Case 1 
Test case name:  
Method being tested:  
Short Description:  
Input Data to constructor and/or method you are testing:  
Expected Results:  


Defects 

Defect 1
Method/Constructor: Put here the source method or constructor name that has a defect
Defect Description: Put here, what behavior is incorrect and why you believe it’s a defect. What was expected versus actual behavior?
How Found: Explain how you were able to find this defect and which test case (name of testcase) found the issue

CONTACT DETAILS

For any other questions or other tasks please feel free to contact me
via email: mhassnainjamil@gmail.com
via WhatsApp: +92-324-7042178
via skype: hassnainjamil1

Comments

Popular posts from this blog

[SOLVED] Tape for a Turing Machine using Doubly-linked List in Java with full source code

[SOLVED] ICT285 Databases TMA 2017 Assignment 1 | Relational Algebra, Database Design & Implementation