Testing DAO or data access layer is always a subject of debate. What exactly we want to test? Do we…
In this post, we will learn how to setup MySQL on our local machines/system. This is one of the possible…
This post shows you how to Unit and integration test your Data layer, service layer and view layer in a…
In this post we will learn about using TestNG and Mockito together. We will also learn about stubbing void methods…
In this post we will learn about TestNG @DataProvider annotation to parameterize your tests in order to write data-driven tests.…
In this post we will learn about how to parameterize your TestNG tests using TestNG @Parameters annotation which is used…
In this post we will see TestNG groups dependency example showing a test depending on groups of tests methods using…
In this post we will see TestNG dependency example between different test methods using @Test annotation's dependsOnMethods and alwaysRun attributes.…
In this post we will learn how to use TestNG expectedExceptions feature to test the expected exception your code might…
In this post we will learn how to configure TestNG Tests to timeout after certain time, using TestNG timeout feature…