Skip to content

Instantly share code, notes, and snippets.

@jweden
Created December 11, 2011 04:22
Show Gist options
  • Save jweden/1458298 to your computer and use it in GitHub Desktop.
Save jweden/1458298 to your computer and use it in GitHub Desktop.
ScalaTest TestNG Test Class
package weden.jason.authServerFuncTests
import org.testng.annotations.Test
import org.testng.Assert._
import org.scalatest.testng.TestNGSuite
class ScalaFunctionalTests extends TestBase with TestNGSuite {
@Test(invocationCount = 3)
def easyTest() {
import TestBase._
assertTrue(doPositiveTest(USER_PASS).contains("helloWorld"))
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment