You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+53-34Lines changed: 53 additions & 34 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,9 @@ Fastlane plugin for QA Wolf integration.
15
15
16
16
Uploads build artifacts (IPA, APK, or AAB) to QA Wolf storage for automated testing. Optionally triggers a test run on QA Wolf.
17
17
18
+
> [!CAUTION]
19
+
> To ensure QA Wolf tests target the correct app build and help debugging issues, we require uploaded filenames to be unique in some way. The example below uses the git commit hash, but you can use another unique identifier such as the app version number if you wish.
20
+
18
21
> [!IMPORTANT]
19
22
> Testing iOS apps (IPA) on QA Wolf is not yet available.
20
23
@@ -24,40 +27,56 @@ Check out the [example `Fastfile`](fastlane/Fastfile) to see how to use this plu
24
27
25
28
```ruby
26
29
lane :builddo
27
-
# Step 1: Build your app
28
-
# Ensure the APK/AAB file has been created. Your use case may vary.
29
-
gradle
30
-
31
-
# Step 2: Upload the artifact to QA Wolf
32
-
upload_to_qawolf(
33
-
# Must be set or available as env var QAWOLF_API_KEY
34
-
qawolf_api_key:"qawolf_...",
35
-
36
-
# only set this if you have not built the artifact in the same lane
37
-
# e.g. via gradle or similar, check official Fastlane docs for details
38
-
file_path:"./build/app-bundle.apk"
39
-
)
40
-
41
-
# Step 3: Trigger a test run on QA Wolf
42
-
# optional, only use when deployment triggers are enabled in QA Wolf
43
-
notify_deploy_qawolf(
44
-
# Must be set or available as env var QAWOLF_API_KEY
45
-
qawolf_api_key:"qawolf_...",
46
-
47
-
# These fields are dependent on how triggers are setup within QA Wolf.
48
-
# Reach out to support for help. All fields are optional.
49
-
branch:nil,
50
-
commit_url:nil,
51
-
deduplication_key:nil,
52
-
deployment_type:nil,
53
-
deployment_url:nil,
54
-
hosting_service:nil,
55
-
sha:nil,
56
-
variables:nil,
57
-
58
-
# Only set this if your lane does not include `upload_to_qawolf`
59
-
run_input_path:nil,
60
-
)
30
+
# The uploaded filename must be unique for your team on the QA Wolf platform.
31
+
# One way to achieve that is to rely on the git commit hash.
32
+
# Feel free to use a different mechanism if desired (e.g. app version).
33
+
# See https://docs.fastlane.tools/actions/#source-control for other source control actions
34
+
ensure_git_status_clean
35
+
commit = last_git_commit
36
+
37
+
# Build your app
38
+
# Ensure the APK/AAB file has been created. Your use case may vary.
39
+
# Check Fastlane's docs for alternative build methods.
40
+
gradle(
41
+
task:"assemble",
42
+
build_type:"Release",
43
+
)
44
+
45
+
# Upload the artifact to QA Wolf
46
+
upload_to_qawolf(
47
+
# Must be set or available as env var QAWOLF_API_KEY
48
+
qawolf_api_key:"qawolf_...",
49
+
50
+
# You can omit this if your gradle build outputs the file with a unique filename.
51
+
# If not, you'll want to do something like the following.
0 commit comments