Automated tests are key to delivering quality assurance to software. Learn how to write any kind of test - unit, component or user interface, using TestNG - a feature-rich and incredibly popular testing framework.
Even on small projects manual testing can be cumbersome and slow, and it is simply impossible on enterprise projects with millions of lines of code. This is why automated tests are recognized as a necessity in order to deliver quality software. In this course, Getting Started with TestNG, you will learn how to write a variety of automated tests to accomplish test automation. First, you will learn how to set up a project dedicated to testing automation from the ground up, import TestNG and learn how to use its basic building blocks - annotations and assertions. These will enable you to write any kind of test - unit, component or UI test. Second, you will explore how annotation fields can boost your tests in order to make them more robust, concise and maintainable. Finally, you will discover how you can organize, group and structure your tests as their number increases. By the end of this course, you will have the necessary skills to write a testing framework that enables you to create automated tests at every level.
Course Overview Hi everyone. My name is Andrejs Doronins, and welcome to my Pluralsight course, Getting Started with TestNG. It is widely accepted that test automation is an integral part of quality assurance and the overall software development lifecycle, and TestNG is a modern testing framework that drives your Java tests. Whether you need to write unit tests, integration tests, UI, or any other kind of test TestNG is perfect for the job. This course is for both developers and test automation engineers and will cover a range of interesting topics. First, we'll briefly talk about why we need a testing framework at all, and what benefits it brings. Right after that we'll get straight to hands-on practice. We'll explore TestNG feature by feature, and gradually write various tests going from simple to more complex. These features include annotations, annotation fields and properties, data providers, and test organization. By the end of this course you'll have the knowledge to develop a wide variety of tests. You will also have a solid foundation that will allow you to explore more complex TestNG features on your own. I hope you'll join me on this journey with the course, Getting Started with TestNG.