What is Junit and How it works? An Overview and Its Use Cases

History & Origin of Junit JUnit was born on a flight from Zurich to Atlanta in 1997 for OOPSLA. Kent Erich was flying with Gamma, and what else were the…

Read more »

Top 50 Cobertura interview questions and answers

1) Where Does The Name “cobertura” Come From? “Cobertura” is the Spanish and Portuguese word for “coverage.” We were trying to avoid acronyms and coffee references. It’s not too hard…

Read more »

Top 50 Unit testing interview questions and answers

1) What is smoking? In unit testing, we use mocking. An object you want to test may have other complex object dependencies. You replace the other objects with mocks simulating…

Read more »

Top 50 Junit interview questions and answers

1) What is Testing? Testing is the process of checking the functionality of the application whether it fulfills the requirement or not. 2) What is unit testing? The process of…

Read more »

Top 50 selenium interview questions and answers

1) What is Selenium and what is composed of? Selenium is a suite of tools for automated web testing. It is composed of Selenium IDE (Integrated Development Environment) : It…

Read more »
junit-4-test-logging-using-slf4j

JUnit 4 Test Logging Tips using SLF4J

When writing JUnit tests developers often add log statements that can help provide information on test failures. During the initial attempt to find a failure a simple System.out.println() statement is…

Read more »