Skip to content

Instantly share code, notes, and snippets.

@graphicbeacon
Created May 30, 2018 17:54
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 graphicbeacon/3282e2127776b21f14c3f98b7255f580 to your computer and use it in GitHub Desktop.
Save graphicbeacon/3282e2127776b21f14c3f98b7255f580 to your computer and use it in GitHub Desktop.
Sample code for "Building RESTful Web APIs with Dart, Aqueduct and PostgreSQL (Part 4)" post on Medium
TestApplication app = new TestApplication();
// Runs before all tests
setUpAll(() async {
await app.start();
});
// Runs after all tests
tearDownAll(() async {
await app.stop();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment