What's Patrol and why you should use it: tests without a hassle | Flutter Heroes 2024 Talk

Поделиться
HTML-код
  • Опубликовано: 23 янв 2025

Комментарии • 6

  • @conceptcoder
    @conceptcoder 15 часов назад +1

    Amazing......

  • @martinseal1987
    @martinseal1987 2 дня назад +2

    "We dont want to mock anything" i do agree however i would recommend mocking payments and authentication especially where there is no reason not to, also permissions can be set in the emulator before you run the test, I'm a fan of patrol but these arent great examples

    • @FlutterHeroes
      @FlutterHeroes  2 дня назад

      we contacted Mateusz to give you a comparison, thanks for the feedback 🙏🏻

    • @mateuszwojtczak2424
      @mateuszwojtczak2424 2 дня назад +1

      Hey! So, E2E tests are exactly for end-to-end integrations like testing the actual PayPal payment. Sure - in most cases you can use other tests and mock payments but having one automated scenario so that you know your e-commerce can make money because people can pay for their orders is essential in my opinion. Nevertheless, thanks for your support and feedback 🙌

    • @FlutterHeroes
      @FlutterHeroes  2 дня назад

      Thanks Mateusz 🙏🏻

    • @martinseal1987
      @martinseal1987 2 дня назад

      @@mateuszwojtczak2424 yes but I don't want to test PayPal just how my app responds to their response