Created
January 15, 2017 12:23
-
-
Save jonayGodoy/073488f37aa841cf4b6d38fcafc91c9c to your computer and use it in GitHub Desktop.
Example Green Test
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 org.junit.Assert; | |
| import org.junit.Test; | |
| public class HelloWorldShould { | |
| @Test | |
| public void testGreen() { | |
| Assert.assertTrue(true); | |
| } | |
| @Test | |
| public void helloIsHello() { | |
| String hello = "Hello World"; | |
| Assert.assertEquals("Hello World",hello); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment