随笔分类 -  测试框架/工具

testNG总结三(主要annotation以及annotation周期图)
摘要:一、annotation的概念通过annotation去标记method 和class, 组织测试用例。二、主要的annotation1) Before/After annotation2) @Test annotation3) 其他annotation三 、Before/after annotat 阅读全文
posted @ 2021-09-23 15:54 维也纳下午茶 阅读(49) 评论(0) 推荐(0)
testNG总结二(group)
摘要:一、什么是group 利用group可以对test method进行分类,还可以定义group的group。group这个parameter和@Test 、@BeforeSuite@AfterSuite、@BeforeTest、@AfterTest、@BeforeGroups、@AfterGroup 阅读全文
posted @ 2021-09-17 15:30 维也纳下午茶 阅读(246) 评论(0) 推荐(0)
testNG总结一(主要listeners之间的生命周期图)
摘要:一、理解testNG的基本概念 testNG是一个用来简化跨度很大的测试的测试框架,从1个类的unit test到由多个类、多个package、甚至几个外部框架组成的集成测试,都能cover。 使用testNG最基本的3个步骤: ① 写测试的逻辑到方法或者类,并用annotation去标记; ② 把 阅读全文
posted @ 2021-09-02 23:53 维也纳下午茶