Basic To Advanced Selenium Java Full Course - Session 12 - Introduction To TestNG смотреть онлайн
What is TestNG?
It is a testing framework which is similar to Junit but it has some additional functionalities which makes it more powerful and easy to use.
Why TestNG?
More Annotations
Test Groups
Data Driven Testing
Parameters
Reporting
Parallel Execution & Multithreading
Exception Handling
Test NG Annotations:
@BeforeSuite: Annotated method will be run before all tests in this suite have run
@AfterSuite: Annotated method will be run after all tests in this suite have run
@BeforeTest: The annotated method will be run before any test method belonging to the classes inside the test tag is run.
@AfterTest: The annotated method will be run after all the test methods belonging to the classes inside the test tag have run.
@BeforeGroups : Annotated method will be run before the test cases of that group
@AfterGoups: Annotated method will be run after the test cases of that group
@BeforeClass: Annotated method will be run before the first test method in current class is invoked.
@AfterClass: Annotated method will be run after all test methods in the current class is invoked.
@BeforeMethod: The annotated method will be run before each test
@AfterMethod: The annotated method will be run after each test
@DataProvider, @Factory, @Listeners, @Parameters, @Test
Test NG Groups:
It allows grouping of different test methods
Groups can contain other groups
Groups are specified in testng.xml under the test or suite tag
Groups specified in the suite tag apply to all test tags within the suite
TestNG allows to include groups as well as exclude groups
Test NG Dependencies
TestNG allows to specify dependencies either with annotations or in xml
Two types of dependencies:
Hard dependencies All methods which depend on must run successfully or will be marked SKIP in report
Soft dependencies Test methods will always run even if some of the depend methods fail. It can be implemented by using “alwaysRun =true” in test annotation
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Basic To Advanced Selenium Java Full Course - Session 12 - Introduction To TestNG» бесплатно и без регистрации, вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.