Learning TestNG | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 17

Learning TestNG

Hi, I am looking for recomendations for learning resources for getting better with TestNG, a Java testing framework. I completed a few tutorials, including a course from Pluralsight and I got the jist of it. Now I'm looking to digg deeper. Thanks in advance!

30th May 2019, 5:31 PM
Mirza Sisic
Mirza Sisic - avatar
7 Answers
+ 18
So far only e2e functional tests, later on maybe some API testing.
1st Jun 2019, 3:42 PM
Mirza Sisic
Mirza Sisic - avatar
+ 17
I've started working with test automation recently at my new job, prior to that I worked as a manual QA and done some front end related freelace work. I'm using TestNG for visual UI test at the moment, I also started learning NUnit about two months ago but the I got transfered to a another project where TestNG is used.
1st Jun 2019, 10:00 AM
Mirza Sisic
Mirza Sisic - avatar
+ 17
Yes, Selenium with Selenium Grid on a few virtual machines for cross browser testing.
1st Jun 2019, 11:32 PM
Mirza Sisic
Mirza Sisic - avatar
+ 9
I've not worked specifically with TestNG, but I'm quite experienced with a number of other testing libraries and frameworks across several platforms. Do you already have a lot of experience with writing unit and integration tests with another library or are you jumping into unit testing for the first time?
1st Jun 2019, 2:22 AM
David Carroll
David Carroll - avatar
+ 8
Ah... That makes sense. Are you using TestNG with Selenium for the integration tests?
1st Jun 2019, 3:15 PM
David Carroll
David Carroll - avatar
+ 6
Are you using Selenium for your functional tests?
1st Jun 2019, 10:33 PM
David Carroll
David Carroll - avatar
+ 5
Cool... I may not be able to recommend any learning resources, however, I may be able to help you with digging deeper as I've been refining our own end to end integration processes over the past year. Although we use Selenium with the .NET client driver, the concepts and testing interfaces are merely syntactic differences with Java. Which Pluralsight course did you complete? Are you looking to refine your existing approach to writing int tests or establish int tests for the first time in your company? Also, will you have clearly defined acceptance criteria that describe behaviors for both happy path and negative scenerios?
2nd Jun 2019, 3:32 AM
David Carroll
David Carroll - avatar