firedart icon indicating copy to clipboard operation
firedart copied to clipboard

Use emulator to run tests

Open cachapa opened this issue 2 years ago • 0 comments
trafficstars

Currently the Firedart automated tests work directly against a real Firebase project.

This has a number of problems:

  • It's slow
  • Is resource intensive
  • Depends on the state of the network
  • Depends on Firebase itself
  • Risks exposing credentials

But the biggest problem is that the tests cannot be run automatically on PRs in a safe manner.

Firedart now supports Firebase emulator, so it should be possible to use that for testing.

cachapa avatar Jun 23 '23 06:06 cachapa