Skip to content

Instantly share code, notes, and snippets.

@vepo
Created July 21, 2020 00:25
Show Gist options
  • Save vepo/21d01d3768980317d62ec8beccf29aae to your computer and use it in GitHub Desktop.
Save vepo/21d01d3768980317d62ec8beccf29aae to your computer and use it in GitHub Desktop.
public class SuiteExecutor {
public static void main(String[] args) {
TestExecutor executor = new TestExecutor();
CompountTest test = CompondTest.create(new HttpTest(GET, "https://github.com/vepo"),
new ExtractTest("mailto:([^\"]+)\""),
new IsValidEmailTest());
executor.setup();
boolean result = executor.execute();
executor.tearDown();
System.out.println("User vepo has a valid email on his github profile? " + result);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment