Skip to content

Instantly share code, notes, and snippets.

@eliasnogueira
Created August 24, 2020 14:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eliasnogueira/4a22d80bc1e86c7dc7a4f5f4e10c8f31 to your computer and use it in GitHub Desktop.
Save eliasnogueira/4a22d80bc1e86c7dc7a4f5f4e10c8f31 to your computer and use it in GitHub Desktop.
Example of a test using the Base Test Class approach overriding the postcondition
public class FirstTest extends BaseWeb {
@AfterAll
@Override
public void quitBrowser() {
// empty or add your implementation
}
@Test
void firstTest() {
// the test goes here
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment