csells / go_router

The purpose of the go_router for Flutter is to use declarative routes to reduce complexity, regardless of the platform you're targeting (mobile, web, desktop), handling deep linking from Android, iOS and the web while still allowing an easy-to-use developer experience.
https://gorouter.dev
442 stars 96 forks source link

Question: How to write tests for an application using GoRouter? #104

Closed craiglabenz closed 2 years ago

craiglabenz commented 2 years ago

What methods are you all using to test navigation in your GoRouter apps? For example, let's say a certain event in your state management solution (the user logging in) should trigger navigation to a certain screen (the home page). How are you setting things up so that a test can confirm the given even triggers the given navigation?

csells commented 2 years ago

I'm curious about this as well...