Loading
 
What's Next: View All Tutorial →

How to skip or ingnore Test Using @Ignore

A simple program  to skip or ingnore Test Using @Ignore   @Ignore("Test is ignored as a demonstration") @Test public void testSkip() { assertThat(1, is(1)); } @Ignore - This will skip the te...

Published Date: 20/02/2015  Last Modified Date: 20/02/2015    New Post




A simple program  to skip or ingnore Test Using @Ignore
 
  @Ignore("Test is ignored as a demonstration")
    @Test
    public void testSkip() {
        assertThat(1, is(1));
    }

@Ignore - This will skip the test
Awaiting for Administrator approval





Tags: JUnit

← Back to list


Related Post




×