TestNG Suites Example

In this post we will learn about TestNG Suite test. A Suite in TestNG is commonly represented by one XML…

10 years ago

TestNG Groups Example

In this post we will learn about how to use TestNG groups testing feature using @BeforeGroups, @AfterGroups and group exclusion.…

10 years ago

TestNG Annotations Example

In this post we will learn common TestNG annotations including @Test, @BeforeMethod, @AfterMethod, @BeforeClass, @AfterClass, @BeforeGroups, @AfterGroups, @BeforeSuite, @AfterSuite, @BeforeTest…

10 years ago

TestNG Hello World Example

In this post we will learn a very basic Hello World example using TestNG. We will learn how to setup…

10 years ago

Gson Json Annotations Example

Google Gson provides useful annotations which can customize the serialization/deserialization of object to/from JSON. We will see commonly used Google…

10 years ago

Gson ExclusionStrategy Example

Lets learn Gson ExclusionStrategy and how it can help us.What if you want to exclude some fields from Serialization and…

10 years ago

Gson Custom Serialization Example

Sometimes default serialization/deserialization used by GSON is not sufficient enough and we need a custom behavior to be applied while…

10 years ago

Gson Streaming Api Example

Similar to Jackson Streaming API, Google GSON too provides streaming API for the situation where performance is utmost important. Gson…

10 years ago

Gson Tree Model Example

Similar to Jackson API, Google GSON API provides a conceptual tree notion for JSON. Google Gson Tree model API provides…

10 years ago

Converting JSON to/from Java Objects using Google GSON

This post explains converting Java object to/from JSON using Google GSON library. To get hold of JSON Basics concepts, please…

10 years ago