class GroovyTest extends GroovyTestCase {
void testString {
assertEquals 'Test failed!', "Test", "Test"
}
}
To execute this test, run the following command:
$ groovy GroovyTest.groovy Time: 0.125 OK (1 test)
class GroovyTest extends GroovyTestCase {
void testString {
assertEquals 'Test failed!', "Test", "Test"
}
}
$ groovy GroovyTest.groovy Time: 0.125 OK (1 test)
No comments:
Post a Comment