Created
August 24, 2012 20:47
-
-
Save aboisvert/3455452 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| VERSION_NUMBER = "1.0.0" | |
| GROUP = "buildr-junit" | |
| repositories.remote << "http://www.ibiblio.org/maven2/" | |
| define "buildr-junit" do | |
| project.version = VERSION_NUMBER | |
| project.group = GROUP | |
| #test.using :junit | |
| package(:jar) | |
| end |
This file contains hidden or 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
| public class Foo { | |
| int foo = 1; | |
| } |
This file contains hidden or 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
| import static org.junit.Assert.*; | |
| public class FooTest { | |
| @org.junit.Test | |
| public void testFoo() { | |
| assertEquals(new Foo().foo, 1); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment