how u do unit testing?

Answer Posted / gajendra

We can use the following tool for unit testing

i.e JUnit.

It is an opensource framework .Check with junit.org

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the advantage of functional interface in java 8?

518


How do you delete a list in java?

531


What is the primary benefit of encapsulation?

554


Can we declare a constructor as final?

673


What is the purpose of void?

534






What is collection class in java? List down its methods and interfaces.

522


How to overcome the exception object reference not set to an instance of object?

616


Explain about join() method?

538


What are the two main uses of volatile in Java?

595


What are the differences between heap and stack memory in java?

530


I want to store more than 10 objects in a remote server? Which methodology will follow?

2630


Write a regular expression to validate a password. A password must start with an alphabet and followed by alphanumeric characters; its length must be in between 8 to 20.

585


What is local declaration?

487


What are white spaces in java?

525


How the interruptible method gets implemented?

554