Git Quick Tips

Overwrite local branch file with the file from remote

switch to the branch that has the unwanted file (my-file.txt).

git checkout HEAD – my-file.txt


Read More

Creating your own TestNG Annotation

TestNG has many Annotations like @Test, @DataProvider, @BeforeTest, @AfterTest, etc.

In most cases, these Annotations will suffice the user’s needs, but what if you need a specific runtime behavior for your tests and none of these Annotations...

Read More