2023 2024 Student Forum > Management Forum > Main Forum

 
  #2  
10th January 2017, 01:03 PM
Super Moderator
 
Join Date: Aug 2012
Re: Junit Interview Questions

JUnit is a testing framework for unit testing. It uses Java as a programming platform, and it is an Open Source Software managed by the JUnit.org community.

As you want here I’m giving you question of JUNIT interview:

What is Testing?
What is Unit Testing?
What is Manual testing?
What is Automated testing?
What are the disadvantages of manual testing?
What are the advantages of automated testing?
What is JUnit?
What are important features of JUnit?
What is a Unit Test Case?
What are the best practices to write a Unit Test Case?
When are Unit Tests written in Development Cycle?
Why not just use System.out.println() for testing?
How to install JUnit?
Why does JUnit only report the first failure in a single test?
In Java, assert is a keyword. Won't this conflict with JUnit's assert() method?
How do I test things that must be run in a J2EE container (e.g. servlets, EJBs)?
Name the tools with which JUnit can be easily integrated.
What are the core features of JUnit?
What is a fixture?
What is a test suite?
What is a test runner?
What are JUnit classes? List some of them.
What are annotations and how are they useful in JUnit?
How will you run JUnit from command window?
What is the purpose of org.junit.Assert class?
What is the purpose of org.junit.TestResult class?
What is the purpose of org.junit.TestSuite class?
What is the purpose of @Test annotation in JUnit?
What is the purpose of @Before annotation in JUnit?
What is the purpose of @After annotation in JUnit?
What is the purpose of @BeforeClass annotation in JUnit?
What is the purpose of @AfterClass annotation in JUnit?
What is @Ignore annotation and how is this useful?
Explain the execution procedure of the JUint test API methods?
What is the purpose of org.junit.JUnitCore class?
How to simulate timeout situation in JUnit?
How can you use JUnit to test that the code throws desired exception?
What are Parameterized tests?
How to create Parameterized tests?
How do you use test fixtures?
How to compile a JUnit Test Class?
What happens if a JUnit Test Method is Declared as "private"?
How do you test a "protected" method?
How do you test a "private" method?
What happens if a JUnit test method is declared to return "String"?
Can you use a main() Method for Unit Testing?
Do you need to write a test class for every class that needs to be tested?
When are tests garbage collected?
What is a Mock Object?
Explain unit testing using Mock Objects.
Name some of the JUnit Extensions.
What is Cactus?
What are the core components of Cactus?
What is JWebUnit?
What are the advantages of using JWebUnit?
What is XMLUnit?
What is the use of supporting classes in XMLUnit?


Quick Reply
Your Username: Click here to log in

Message:
Options




All times are GMT +5. The time now is 07:48 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
SEO by vBSEO 3.6.0 PL2

1 2 3 4