Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .fvmrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"flutter": "3.22.2"
}
"flutter": "3.27.4"
}
5 changes: 3 additions & 2 deletions lib/src/integration_test/browser_stack_api.dart
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,9 @@ class BrowserStackApi {

await Future<void>.delayed(const Duration(seconds: 10));

final currentFormattedTime =
DateFormat('hh:mm:ss').format(DateTime.now().toUtc());
final currentFormattedTime = DateFormat(
'hh:mm:ss',
).format(DateTime.now().toUtc());

stdout.writeln(
"[$currentFormattedTime GTM]: Waiting for the test to complete - this may take a few minutes - Go to BrowserStack to see more information.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ import 'package:tapped_test_toolkit/src/integration_test/option/integration_test
part 'integration_test_android_option.freezed.dart';

@freezed
class IntegrationTestAndroidOption with _$IntegrationTestAndroidOption {
abstract class IntegrationTestAndroidOption
with _$IntegrationTestAndroidOption {
const IntegrationTestAndroidOption._();

const factory IntegrationTestAndroidOption({
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import 'package:tapped_test_toolkit/src/integration_test/option/integration_test
part 'integration_test_ios_option.freezed.dart';

@freezed
class IntegrationTestIosOption with _$IntegrationTestIosOption {
abstract class IntegrationTestIosOption with _$IntegrationTestIosOption {
const IntegrationTestIosOption._();

const factory IntegrationTestIosOption({
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ class IntegrationTestParameter {

static const String devicesParam = "devices";

// endregion
// endregion
}
4 changes: 1 addition & 3 deletions lib/src/integration_test/run_android_integration_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ Future<void> runAndroidIntegrationTest(List<String> arguments) async {
file: option.testSuite,
url:
"https://api-cloud.browserstack.com/app-automate/flutter-integration-tests/v2/android/test-suite",
fields: {
if (option.customId != null) "custom_id": option.customId!,
},
fields: {if (option.customId != null) "custom_id": option.customId!},
);

final testSuiteUrl = uploadTestSuiteResponse.getRequiredKey("test_suite_url");
Expand Down
4 changes: 1 addition & 3 deletions lib/src/integration_test/run_ios_integration_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ Future<void> runIosIntegrationTest(List<String> arguments) async {
"https://api-cloud.browserstack.com/app-automate/flutter-integration-tests/v2/ios/test-package",
file: option.testPackage,
basicAuthHeader: option.basicAuthValue,
fields: {
if (option.customId != null) "custom_id": option.customId!,
},
fields: {if (option.customId != null) "custom_id": option.customId!},
);

final testPackageUrl = uploadPackageResult.getRequiredKey("test_package_url");
Expand Down
2 changes: 1 addition & 1 deletion lib/tapped_test_toolkit.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library tapped_test_toolkit;
library;

export 'src/integration_test/browser_stack_api.dart';
export 'src/integration_test/browser_stack_test_status.dart';
Expand Down
16 changes: 7 additions & 9 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,23 @@ version: 0.0.1
publish_to: none

environment:
sdk: ">=2.18.4 <3.0.0"
sdk: ">=3.6.2 <4.0.0"
flutter: ">=3.16.0"

dependencies:
args: ^2.5.0
http: ^1.2.1
freezed_annotation: ^2.4.1
args: ^2.6.0
http: ^1.3.0
freezed_annotation: ^2.4.4
json_annotation: ^4.9.0
path: ^1.9.0
# formatting the time of some jobs
intl: ^0.19.0

dev_dependencies:
build_runner: ^2.4.11
flutter_lints: ^4.0.0
freezed: ^2.5.2
build_runner: ^2.4.15
flutter_lints: ^5.0.0
freezed: ^2.5.8
tapped_lints:
git:
url: https://github.com/tappeddev/tapped_lints.git
ref: master

flutter: