Skip to content

Instantly share code, notes, and snippets.

@mrWinston
Last active July 13, 2016 13:46
Show Gist options
  • Select an option

  • Save mrWinston/c5dd315feae638e2985efde183ba92c0 to your computer and use it in GitHub Desktop.

Select an option

Save mrWinston/c5dd315feae638e2985efde183ba92c0 to your computer and use it in GitHub Desktop.
Barebone junit Testfile #java #junit #test
/* This program is free software. It comes without any warranty, to
* the extent permitted by applicable law. You can redistribute it
* and/or modify it under the terms of the Do What The Fuck You Want
* To Public License, Version 2, as published by Sam Hocevar. See
* http://www.wtfpl.net/ for more details.
*/
import junit.framework.TestCase;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
public class GeneralTest extends TestCase {
@Before
public void setUp() throws Exception {
}
@After
public void tearDown() throws Exception {
}
@Test
public void testSomething() throws Exception{
assert false;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment