mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00

This commit contains: - FlutterDriver API for e2e tests usable in conjunction with package:test - FlutterDriverExtension to be enabled by the application in order to allow an external agent to connect to it and drive user interactions and probe into the element tree - initial implementations of tap, findByValueKey and getText commands (to be expanded in future PRs)
21 lines
649 B
Bash
Executable File
21 lines
649 B
Bash
Executable File
#!/bin/bash
|
|
set -ex
|
|
|
|
export PATH="$PWD/bin:$PATH"
|
|
|
|
# analyze all the Dart code in the repo
|
|
flutter analyze --flutter-repo --no-current-directory --no-current-package --congratulate
|
|
|
|
(cd packages/cassowary; pub run test -j1)
|
|
(cd packages/flutter; flutter test)
|
|
(cd packages/flutter_sprites; flutter test)
|
|
(cd packages/flutter_tools; pub run test -j1)
|
|
# (cd packages/flutter_test; ) # No tests to run.
|
|
(cd packages/flx; pub run test -j1)
|
|
(cd packages/newton; pub run test -j1)
|
|
# (cd packages/playfair; ) # No tests to run.
|
|
# (cd packages/updater; ) # No tests to run.
|
|
(cd packages/flutter_driver; pub run test -j1)
|
|
|
|
(cd examples/stocks; flutter test)
|