Let’s talk about dependence on test methods – TestNG

Hello guys!, Today I want to talk a little bit about dependence on test methods using TestNG. First, when we want to use a dependence on a test, we must define it on the top of the test method together to @test, let me illustrate it for you guys. As you can see, we defineContinue reading “Let’s talk about dependence on test methods – TestNG”

Let’s talk about error message with Assert and TestNG

Hi guys!, as you can see we are using TestNG and previosly we have created the method SumNumbers in the class SomeClassToTest, this methods just sum two numbers. And Assert.assertEquals() has two parameters, the first parameter is actual result and the second parameter is expected result. Once we assign parameters to the method assertEquals() weContinue reading “Let’s talk about error message with Assert and TestNG”

Design a site like this with WordPress.com
Get started