📜  selenium 中的标签 - 任何代码示例

📅  最后修改于: 2022-03-11 15:00:17.954000             🧑  作者: Mango

代码示例1
Tags are keywords helps us group our tests and create running 
structure for our testing suite.
 WE can run specific scenarios, or exclude specific scenarios.
    ---- We have 3 keyword in Cucumber for to use tags:
    
   1- OR: if we want to run all the listed tests we use or
         
   2- AND: we want the scenario/feature to have all of the given tags to be ran.
           
   3- NOT: basically if we want to exclude any test with a specific @tag given, 
        we provide it after "not" keyword. Those scenarios will not be ran.