From b0dd962bc6bfcc64f7faf84b3c44eed68aa5693a Mon Sep 17 00:00:00 2001 From: John Ryan Date: Wed, 13 Oct 2021 10:19:26 -0700 Subject: [PATCH] Update integration_test README (#3824) * Change deprecated to moved - add a link to the flutter.dev docs - add a link to the new location - Changed "deprecated" to "moved" to avoid confusion, since this is still the recommended way to write unit tests, but needs to be imported differently. * Update packages/integration_test/README.md * Apply suggestions from code review Co-authored-by: Shams Zakhour (ignore Sfshaza) <44418985+sfshaza2@users.noreply.github.com> Co-authored-by: Shams Zakhour (ignore Sfshaza) <44418985+sfshaza2@users.noreply.github.com> --- packages/integration_test/README.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/packages/integration_test/README.md b/packages/integration_test/README.md index 67f658b56327..6bf388131680 100644 --- a/packages/integration_test/README.md +++ b/packages/integration_test/README.md @@ -1,9 +1,12 @@ -# integration_test (deprecated) +# integration_test (moved) -## DEPRECATED +## MOVED -This package has been moved to the Flutter SDK. Starting with Flutter 2.0, -it should be included as: +This package has [moved to the Flutter +SDK](https://github.com/flutter/flutter/tree/master/packages/integration_test), +and the pub.dev version is deprecated. +As of Flutter 2.0, include it in your pubspec's +dev dependencies section, as follows: ``` dev_dependencies: @@ -11,6 +14,9 @@ dev_dependencies: sdk: flutter ``` +For the latest documentation, see [Integration +testing](https://flutter.dev/docs/testing/integration-tests). + ## Old instructions This package enables self-driving testing of Flutter code on devices and emulators.