Skip to content

Commit 5bd2591

Browse files
authored
Update documentation (Flank#686)
1 parent f114c83 commit 5bd2591

File tree

6 files changed

+88
-88
lines changed

6 files changed

+88
-88
lines changed

README.md

+16-16
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Flank [![Build Status](https://app.bitrise.io/app/9767f3e19047d4db/status.svg?token=uDM3wCumR2xTd0axh4bjDQ&branch=master)](https://app.bitrise.io/app/9767f3e19047d4db) [![codecov](https://codecov.io/gh/TestArmada/flank/branch/master/graph/badge.svg)](https://codecov.io/gh/TestArmada/flank) [![pullreminders](https://pullreminders.com/badge.svg)](https://pullreminders.com?ref=badge)
1+
# Flank [![Build Status](https://app.bitrise.io/app/9767f3e19047d4db/status.svg?token=uDM3wCumR2xTd0axh4bjDQ&branch=master)](https://app.bitrise.io/app/9767f3e19047d4db) [![codecov](https://codecov.io/gh/Flank/flank/branch/master/graph/badge.svg)](https://codecov.io/gh/Flank/flank) [![pullreminders](https://pullreminders.com/badge.svg)](https://pullreminders.com?ref=badge)
22

33
Flank is a [massively parallel Android and iOS test runner](https://docs.google.com/presentation/d/1goan9cXpimSJsS3L60WjljnFA_seUyaWb2e-bezm084/edit#slide=id.p1) for [Firebase Test Lab](https://firebase.google.com/docs/test-lab/).
44

@@ -458,17 +458,17 @@ flank:
458458

459459
Download Flank from GitHub releases.
460460

461-
Stable. Get the latest [stable version number](https://github.com/TestArmada/flank/releases/latest) and replace the `XXX` with the version number.
461+
Stable. Get the latest [stable version number](https://github.com/Flank/flank/releases/latest) and replace the `XXX` with the version number.
462462

463463
```
464-
wget --quiet https://github.com/TestArmada/flank/releases/download/vXXX/flank.jar -O ./flank.jar
464+
wget --quiet https://github.com/Flank/flank/releases/download/vXXX/flank.jar -O ./flank.jar
465465
java -jar ./flank.jar android run
466466
```
467467
468468
Snapshot (published after every commit)
469469
470470
```
471-
wget --quiet https://github.com/TestArmada/flank/releases/download/flank_snapshot/flank.jar -O ./flank.jar
471+
wget --quiet https://github.com/Flank/flank/releases/download/flank_snapshot/flank.jar -O ./flank.jar
472472
java -jar ./flank.jar android run
473473
```
474474
@@ -556,28 +556,28 @@ dependencies {
556556

557557
### FAQ
558558

559-
> Access Not Configured. Cloud Tool Results API has not been used in project 764086051850 before or it is disabled.
559+
1) > Access Not Configured. Cloud Tool Results API has not been used in project 764086051850 before or it is disabled.
560560
561-
This error means authentication hasn't been setup properly. See `Authenticate with a service account` in this readme.
561+
This error means authentication hasn't been setup properly. See `Authenticate with a service account` in this readme.
562562

563-
> How do I use Flank without typing long commands?
563+
2) > How do I use Flank without typing long commands?
564564
565-
Add Flank's [bash helper folder](https://github.com/TestArmada/flank/blob/master/test_runner/bash/) to your $PATH environment variable. This will allow you to call the shell scripts in that helper folder from anywhere.
565+
Add Flank's [bash helper folder](https://github.com/Flank/flank/blob/master/test_runner/bash/) to your $PATH environment variable. This will allow you to call the shell scripts in that helper folder from anywhere.
566566

567-
With the [flank](https://github.com/TestArmada/flank/blob/master/test_runner/bash/flank) shell script, you can use `flank` instead of `java -jar flank.jar`. Examples:
567+
With the [flank](https://github.com/Flank/flank/blob/master/test_runner/bash/flank) shell script, you can use `flank` instead of `java -jar flank.jar`. Examples:
568568

569-
- `flank android run`
570-
- `flank ios run`
569+
- `flank android run`
570+
- `flank ios run`
571571

572-
With the [update_flank.sh](https://github.com/TestArmada/flank/blob/master/test_runner/bash/update_flank.sh) shell script, you can rebuild `flank.jar`.
572+
With the [update_flank.sh](https://github.com/Flank/flank/blob/master/test_runner/bash/update_flank.sh) shell script, you can rebuild `flank.jar`.
573573

574-
> Symbol is declared in module 'java.xml' which does not export package 'com.sun.org.apache.xerces.internal.dom'
574+
3) > Symbol is declared in module 'java.xml' which does not export package 'com.sun.org.apache.xerces.internal.dom'
575575
576-
Make sure you're using JDK 8 to compile Flank.
576+
Make sure you're using JDK 8 to compile Flank.
577577

578-
> Test run failed to complete. Expected 786 tests, received 660
578+
4) > Test run failed to complete. Expected 786 tests, received 660
579579
580-
Try setting `use-orchestrator: false`. Parameterized tests [are not compatible with orchestrator](https://stackoverflow.com/questions/48735268/unable-to-run-parameterized-tests-with-android-test-orchestrator). Flank uses [orchestrator by default on Android.](https://developer.android.com/training/testing/junit-runner)
580+
Try setting `use-orchestrator: false`. Parameterized tests [are not compatible with orchestrator](https://stackoverflow.com/questions/48735268/unable-to-run-parameterized-tests-with-android-test-orchestrator). Flank uses [orchestrator by default on Android.](https://developer.android.com/training/testing/junit-runner)
581581

582582
# Resources
583583

contributing.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ When opening the project in IntelliJ IDEA, select the "Import from Existing Sour
1515

1616
## Debugging Flank Commands
1717

18-
There is a [`Debug.kt`](https://github.com/Flank/flank/blob/master/test_runner/src/test/kotlin/Debug.kt#L8) which is your entry point. You can start a debug session here and set breakpoints wherever you need them.
18+
There is a [`Debug.kt`](https://github.com/Flank/flank/blob/master/test_runner/src/test/kotlin/Debug.kt#L8) which is your entry point. You can start a debug session here and set breakpoints wherever you need them. TIP: while debugging use `gs://...` links to avoid uploading apk/zip files
1919

2020
Note: The breakpoints will only hit for the actual command being run. For example, for `firebase test android run`, the debugger will directly enter [`AndroidRunCommand`](https://github.com/Flank/flank/blob/master/test_runner/src/main/kotlin/ftl/cli/firebase/test/android/AndroidRunCommand.kt).
2121

docs/readme.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ Rewrite of Flank in Kotlin
66

77
- APIs are used for all Google Cloud interactions
88
- Firebase Test Lab transparently retries VMs 3x
9-
- Infrastructure Failures may lead to [4 hours or more of wait times](https://github.com/TestArmada/flank/issues/108) as a result, retrying VMs on failure isn't super helpful.
9+
- Infrastructure Failures may lead to [4 hours or more of wait times](https://github.com/Flank/flank/issues/108) as a result, retrying VMs on failure isn't super helpful.
1010
- VM timeout applies only once the VM has booted. Hours spent waiting for the VM to boot aren't included in the wait time.
1111
- Test failures are best retried using [a retry JUnit rule](https://github.com/instructure/instructure-android/blob/80b0c5e7256317c223d4d3ed6f3b918df31c2548/espresso/src/main/java/com/instructure/espresso/ScreenshotTestRule.java#L38) combined with Android Test Orchestrator and an [app reset rule](https://github.com/instructure/instructure-android/blob/80b0c5e7256317c223d4d3ed6f3b918df31c2548/teacher/app/src/androidTest/java/com/instructure/teacher/ui/utils/TeacherActivityTestRule.java#L39)
12-
- On device retry is free since we don't need to spin up a new VM.
12+
- On device retry is free since we don't need to spin up a new VM.
1313
- Each VM created is another opportunity for FTL to error. Even when VMs boot correctly, it's at least a 5m wait time.
1414

1515
## Client libraries

faq.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ flank:
2222
2323
To always shard each test on a new device, omit `shard-time`.
2424

25-
[1]: https://github.com/TestArmada/flank/blob/6d128ce949247ea3b5066677a220b93b028ae77f/test_runner/src/main/kotlin/ftl/shard/Shard.kt#L92
25+
[1]: https://github.com/Flank/flank/blob/6d128ce949247ea3b5066677a220b93b028ae77f/test_runner/src/main/kotlin/ftl/shard/Shard.kt#L92

0 commit comments

Comments
 (0)