Question: Java How many test cases will be executed for the below code? @Runwith (JUnitPlatform.class) @IncludeTags (Highpriority) @ExcludeTags (Highpriority)//line 1 @selectClasses (MethodTest.class) public class TestTag {

Java
Java How many test cases will be executed for the below code?

How many test cases will be executed for the below code? @Runwith (JUnitPlatform.class) @IncludeTags ("Highpriority") @ExcludeTags ("Highpriority")//line 1 @selectClasses (MethodTest.class) public class TestTag { } class MethodTest { @Tag ("Highpriority") @Test public void methodATest() { String str "info"; assertEquals("Infosys", str.concat("sys")); } @Tag ("Highpriority") @Test public void methodBTest() { String str = "INFOSYS"; assertEquals("INFOSYS", str.toUppercase ()); } }

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!