Created
July 15, 2013 14:58
-
-
Save mawek/6000649 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.mawek.test | |
import org.slf4j.Logger | |
import org.slf4j.LoggerFactory; | |
import static org.junit.Assert.assertEquals | |
import org.testng.annotations.Test | |
import org.testng.annotations.BeforeClass | |
class Test01 { | |
protected final Logger log = LoggerFactory.getLogger(getClass()) | |
@BeforeClass | |
void init() { | |
throw new IllegalStateException("ups!") | |
} | |
@Test | |
void testSomething() { | |
log.info("running test") | |
assertEquals("hello world!", "hello world!") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment