Getting Started with Test Lab for Android - Firecasts

Getting Started with Test Lab for Android - Firecasts - Hello friends Android tutorial and tips trik, The article you are reading this time with the title Getting Started with Test Lab for Android - Firecasts, we have prepared this article for you to read and download the information therein. hopefully fill posts article -, article android, article Firecasts, article for, article Getting, article Lab, article Started, article Test, article Tutorial, article with, we can write this you understand. Well, happy reading.

Title : Getting Started with Test Lab for Android - Firecasts
link : Getting Started with Test Lab for Android - Firecasts

Baca juga


Getting Started with Test Lab for Android - Firecasts

[MUSIC PLAYING] DOUG STEVENSON: Hey, thanks fortuning into another Firecast.

My name is DougStevenson, and I'll give you a quickwalkthrough on how to do the first test ofyour app with Firebase Test Lab for Android.

The Firebase team understandsthat application quality is extremely importantfor the long term health of your app andthe business it supports, and I know frompersonal experience that publishing an appwith a serious issue can cost time and money to fix.

And there is a risk thatyour users might simply uninstall the app if it'scausing them trouble.

To help preventthese problems, you can use FirebaseTest Lab for Android to maintain a highbar for quality by testing your app on manydevices at the same time.

There's a lot youcan do with Test Lab, so let's just take alook at the easiest way to get started withTest Lab right now.

OK.

I already have anAndroid project created in the Firebase consolethat I'm using for development.

So let's take a look at that.

Now when I select Test Labfrom the features on the left, the console istelling me that I need to upgrade to the Blaze plan.

And when I click on the Upgradebutton, I see some choices and that the Blazeplan includes Test Lab.

So when I select Blaze,I notice that I'm going to be billed for myuse of real-time database, file storage, and web hosting.

But I already havea problem here.

I'm still building out thefirst version of my app, and I'm happy withthe free SPARC plan.

I don't yet want to start payingfor storage and bandwidth used by my app.

And this is OK.

I don't have to useTest Lab in the project that I'm using todevelop my app.

So if you're likeme, and you only want to pay to use Test Lab fornow, what you can do instead is create a whole new projectfor all your testing needs.

Then you can just upgrade thatproject to the Blaze plan, and you'll only pay for the testthat you execute against it.

In fact, you don't even have toadd Firebase to your app at all to be able to testit with Test Lab.

You can simply uploadany APK, and Test Lab will run tests onit in the project you choose usingonly the billing information for that project.

So let's create a new projectreal fast and upgrade it.

First, I'll go back to theFirebase console main screen.

Then I'll choose tocreate a new project.

I'll give it a namethat makes it clear what I'm trying to do hereand keep the default country.

OK.

Now I'll choose toupgrade this project.

I'll select the Blaze plan,and go ahead with the billing setup, but I'll stop therecording right here, because I'm not going toshow you my credit card number today.

So completing the rest ofthat setup is up to you.

But when I'm donewith that, I'll see my project is nowon the Blaze plan, which means I can run tests with it.

I imagine right now you'rewondering what exactly it costs to test your app.

You should know thatyour credit card will be billed five US dollarsper physical device hour.

That means if your test runson five different device configurations, andyou've submitted a test that takes 12minutes [INAUDIBLE] on each device, that's a totalof one hour, which costs $5.

Or if you have six distinctdevice configurations that each run for10 minutes, that's also a total of one hour for $5.

The math is pretty easy,so you get the idea.

Anyway, let's do an easy test.

If I click Test Lab on theleft in my upgraded project, I have an option to run acouple different kinds of tests.

The easiest test torun is a Robo test.

This is an automatedintelligent test that requires no extracoding on my part.

It will operate my app andgive a report at the end.

All I have to dois upload an APK and select theconfigurations to test with.

Here, I'm just going toselect the Nexus 7 and Nexus 5 devices on API levels 21 and 22in both landscape and portrait.

And I'll leave the defaultlocale of US English.

Now when I scrolldown, the console is telling me that this isa total of six unique tests in this test matrix.

When I push thatbutton, the tests are deployed to my selecteddevices in Test Lab, and the results will appearsometime later right here in the console.

And when you get to writingyour own instrumentation tests, you'll be able to run thosetests from the console here as well.

Like I mentioned before,you can run tests against pretty much any APK.

This means debug orrelease build types with or withoutFirebase integrated, and you can testmultiple different apps all in the same project.

Oh, and there's one other thing.

If you aren't ableto pay for testing, you can still make useof Firebase Test Lab by uploading your APK toan alpha or beta channel in the Google PlayDeveloper console.

All you have to do is opt into use the Pre-Launch Report on Google Play.

And from that point on,every APK you upload to those channels willreceive a five-minute Robo test across several devicesat no charge to you.

After a while,those test results will appear alongsidethe APK in the channel where you uploaded it.

So that's all wehave time for now.

Stay tuned here tothe Firebase channel on YouTube for more details onFirebase Test Lab for Android and other Firebase features.

If you have anyquestions, reach out to us on Twitter with thehashtag, #askfirebase, or in the comments below.

My name is Doug Stevenson.

Thanks for watching, and don'tforget to test early and often with Firebase.

[MUSIC PLAYING].



Thus Article Getting Started with Test Lab for Android - Firecasts

That article Getting Started with Test Lab for Android - Firecasts This time, hopefully we can give you all of the benefits. Well, I'll see you in another article post.

You now read the article Getting Started with Test Lab for Android - Firecasts the link address http://svedda79.blogspot.com/2016/11/getting-started-with-test-lab-for.html

0 Response to "Getting Started with Test Lab for Android - Firecasts"

Post a Comment