BirthdayCalendar icon indicating copy to clipboard operation
BirthdayCalendar copied to clipboard

Add Integration Tests For Contacts Service

Open TomerPacific opened this issue 1 year ago • 3 comments

References:

  • https://docs.flutter.dev/testing/integration-tests
  • https://www.dhiwise.com/post/practical-guide-to-integration-testing-in-flutter-app
  • https://medium.com/testvagrant/writing-your-first-test-with-flutter-integration-test-1e877d0ca279

TomerPacific avatar Apr 27 '24 18:04 TomerPacific

Currently blocked by #62

TomerPacific avatar May 02 '24 18:05 TomerPacific

Following the completion of #62, the main branch has been merged to this feature branch. Hopefully, there are no more obstacles.

TomerPacific avatar May 10 '24 09:05 TomerPacific

Upon further investigation and errors encountered, it seems like having integration tests that interact with the native UI is not fully supported in Flutter.

Relevant issues:

  • https://github.com/flutter/flutter/issues/86295
  • https://github.com/flutter/flutter/issues/127516
  • https://github.com/flutter/flutter/issues/131759

The example repository does not show the use case for this https://github.com/flutter/flutter/blob/master/packages/integration_test/example/integration_test/_extended_test_web.dart

One option that people keep suggesting is Patrol -> https://pub.dev/packages/patrol

TomerPacific avatar May 12 '24 15:05 TomerPacific