Merge "update Cloud Test Lab guide for Firebase / Studio 2.2. Originally written by Aaron Carey. bug: 30400568" into nyc-dev

This commit is contained in:
Scott Main
2016-09-12 21:42:27 +00:00
committed by Android (Google) Code Review
2 changed files with 26 additions and 36 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 70 KiB

View File

@@ -292,23 +292,21 @@ from the command line. Test results provide test logs and include the details
of any app failures.</p> of any app failures.</p>
<p> <p>
Before you can start using Firebase Test Lab, you need to: Before you can start using Firebase Test Lab, you need to do the following
unless you already have a Google account and a Firebase project with the Blaze
billing plan enabled:
</p> </p>
<ol> <ol>
<li> <li><a href="https://accounts.google.com/">Create a Google account</a>,
<a href="https://console.developers.google.com/freetrial">Create a if you don't have one already.</li>
Google Cloud Platform account</a> to use with active billing. <li>In the <a href="https://console.firebase.google.com/">Firebase
</li> console</a>, click <b>Create New Project</b>.</li>
<li>In the Firebase console, click <b>Upgrade</b>, and then click <b>Select
<li> Plan</b> in the <b>Blaze</b> plan column.
<a href="https://support.google.com/cloud/answer/6251787">Create a Google <p class="note"><b>Note</b>: To learn about billing,
Cloud project</a> for your app. see <a href="https://firebase.google.com/docs/test-lab/overview#billing">Test
</li> Lab billing</a>.</p>
<li>
<a href="https://support.google.com/cloud/answer/6288653">Set up an active
billing account</a> and associate it with the project you just created.
</li> </li>
</ol> </ol>
@@ -318,10 +316,10 @@ Configure a test matrix and run a test
</h4> </h4>
<p> <p>
Android Studio provides integrated tools that allow you to configure how you Android Studio provides integrated tools that allow you to configure how you
want to deploy your tests to Firebase Test Lab. After you have created a Google want to deploy your tests to Firebase Test Lab. After you have created a
Cloud project with active billing, you can create a test configuration and Firebase project with Blaze plan billing, you can create a test configuration
run your tests: and run your tests:
</p> </p>
<ol> <ol>
@@ -329,7 +327,8 @@ Configure a test matrix and run a test
the main menu. the main menu.
</li> </li>
<li>Click <strong>Add New Configuration (+)</strong> and select <li>Click <strong>Add New Configuration</strong> <img
src="/studio/images/buttons/ic_plus.png" alt="" class="inline-icon"/> and select
<strong>Android Tests</strong>. <strong>Android Tests</strong>.
</li> </li>
@@ -340,7 +339,7 @@ Configure a test matrix and run a test
</li> </li>
<li>From the <em>Target</em> drop-down menu under <em>Deployment Target <li>From the <em>Target</em> drop-down menu under <em>Deployment Target
Options</em>, select <strong>Cloud Test Lab Device Matrix</strong>. Options</em>, select <strong>Firebase Test Lab Device Matrix</strong>.
</li> </li>
<li>If you are not logged in, click <strong>Connect to Google Cloud <li>If you are not logged in, click <strong>Connect to Google Cloud
@@ -348,9 +347,9 @@ Configure a test matrix and run a test
</li> </li>
<li>Next to <em>Cloud Project</em>, click the <img src= <li>Next to <em>Cloud Project</em>, click the <img src=
"{@docRoot}images/tools/as-wrench.png" alt="wrench and nut" style= "{@docRoot}images/tools/as-wrench.png" alt="" class="inline-icon"/>
"vertical-align:bottom;margin:0;"> button and select your Google Cloud button and select your Firebase
Platform project from the list. project from the list.
</li> </li>
</ol> </ol>
</li> </li>
@@ -359,7 +358,7 @@ Configure a test matrix and run a test
<ol type="a"> <ol type="a">
<li>Next to the <em>Matrix Configuration</em> drop-down list, click <strong> <li>Next to the <em>Matrix Configuration</em> drop-down list, click <strong>
Open Dialog</strong> <img src="{@docRoot}images/tools/as-launchavdm.png" Open Dialog</strong> <img src="{@docRoot}images/tools/as-launchavdm.png"
alt="ellipses button" style="vertical-align:bottom;margin:0;">. alt="" class="inline-icon">.
</li> </li>
<li>Click <strong>Add New Configuration (+)</strong>. <li>Click <strong>Add New Configuration (+)</strong>.
@@ -385,8 +384,7 @@ Configure a test matrix and run a test
</li> </li>
<li>Run your tests by clicking <strong>Run</strong> <img src= <li>Run your tests by clicking <strong>Run</strong> <img src=
"{@docRoot}images/tools/as-run.png" alt="" style= "{@docRoot}images/tools/as-run.png" alt="" class="inline-icon"/>.
"vertical-align:bottom;margin:0;">.
</li> </li>
</ol> </ol>
@@ -404,7 +402,7 @@ Configure a test matrix and run a test
When Firebase Test Lab completes running your tests, the <em>Run</em> window When Firebase Test Lab completes running your tests, the <em>Run</em> window
will open to show the results, as shown in figure 2. You may need to click will open to show the results, as shown in figure 2. You may need to click
<strong>Show Passed</strong> <img src="{@docRoot}images/tools/as-ok.png" alt= <strong>Show Passed</strong> <img src="{@docRoot}images/tools/as-ok.png" alt=
"" style="vertical-align:bottom;margin:0;"> to see all your executed tests. "" class="inline-icon"/> to see all your executed tests.
</p> </p>
<img src="{@docRoot}images/training/ctl-test-results.png" alt=""> <img src="{@docRoot}images/training/ctl-test-results.png" alt="">
@@ -416,15 +414,7 @@ Configure a test matrix and run a test
<p> <p>
You can also analyze your tests on the web by following the link displayed at You can also analyze your tests on the web by following the link displayed at
the beginning of the test execution log in the <em>Run</em> window, as shown the beginning of the test execution log in the <em>Run</em> window.
in figure 3.
</p>
<img src="{@docRoot}images/training/ctl-exec-log.png" alt="">
<p class="img-caption">
<strong>Figure 3.</strong> Click the link to view detailed test results on
the web.
</p> </p>
<p> <p>