<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Mrudula on Medium]]></title>
        <description><![CDATA[Stories by Mrudula on Medium]]></description>
        <link>https://medium.com/@mrudula.mrudumrudula?source=rss-2ce8aff8f6a3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*TuJM6_1Ks1PurxVi0JStnw.jpeg</url>
            <title>Stories by Mrudula on Medium</title>
            <link>https://medium.com/@mrudula.mrudumrudula?source=rss-2ce8aff8f6a3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 12:22:44 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mrudula.mrudumrudula/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Git Commands every junior developer should know…]]></title>
            <link>https://medium.com/mindorks/git-commands-every-junior-developer-should-know-6347119c4b76?source=rss-2ce8aff8f6a3------2</link>
            <guid isPermaLink="false">https://medium.com/p/6347119c4b76</guid>
            <category><![CDATA[git]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[version-control]]></category>
            <category><![CDATA[androiddev]]></category>
            <dc:creator><![CDATA[Mrudula]]></dc:creator>
            <pubDate>Thu, 02 Jan 2020 03:46:47 GMT</pubDate>
            <atom:updated>2020-01-02T03:46:47.539Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e1iypsouAGB6jABtPW-JyA.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@cgower?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Christopher Gower</a> on <a href="https://unsplash.com/s/photos/coding?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>I&#39;d you are a software developer you know how important it is to use version control. Git is an open-source version control system which is similar to the version control systems like CVS and Subversion. It is used to keep track of project files.</p><p>Git stores information about the project’s progress in a repository. A repository is having commits to the project or a set of references to the commits called heads. Git allows developers to easily collaborate, as they can fetch the newest version of the project file, make changes and commit them.</p><p>There are a lot of resources on the internet to learn git but if you are just starting to learn git then this article will help you to understand the basic commands that we use in git.</p><h3>1. init — initialize a git repository for an existing or new project</h3><p>The git init command is used for creating a new repository. it can be used to convert the current directory into a git repository</p><pre>git init &lt;directory name&gt;</pre><h3>2. clone — To copy a git repository from a remote source.</h3><p>git clone is a Git command-line utility which is used to target an existing repository and create a clone, or copy of the target repository</p><pre>git clone &lt;repository url&gt;</pre><h3>3. add — marks changes to be included in the next commit</h3><p>The “<strong>add</strong>” <strong>command</strong> marks changes to be included in the next commit. It adds changes to <strong>Git’s</strong> “Staging Area”, the contents of which can then be wrapped up in a new revision with the “<strong>git</strong> commit” <strong>command</strong></p><pre>git add [file-name.txt] - Add a file to the staging area</pre><pre>git add -A - stages all changes</pre><pre>git add .  - stages new files and modifications, without deletions</pre><pre>git add -u - stages modifications and deletions, without new files</pre><h3>4. commit — To commit your local changes and sets it to a new commit</h3><p>The git commit command captures a snapshot of the project&#39;s currently staged changes.</p><pre>git commit -a”commit msg” - </pre><h3>5. status — Check the status of files you have changed in your working directory</h3><p>The <strong>git status command</strong> displays the state of the working directory and the staging area. It lets you see which changes have been staged, which haven’t, and which files aren’t being tracked by <strong>Git</strong>. <strong>The status</strong> output does not show you any information regarding the committed project history.</p><pre>git status</pre><h3>6. log</h3><p>After you have created several commits, or if you have cloned a repository with an existing commit history, you’ll probably want to look back to see what has happened. The most basic and powerful tool to do this is the git log command.</p><pre>git log</pre><pre>git log -n &lt;limit&gt;</pre><pre>git log --oneline (condense the log message to a single line)</pre><pre>git log --stat (logs the messages with the number of lines added and deleted)</pre><pre>git log -p (Displays the patch representing the each commit, shows the full difference)</pre><pre>git log &lt;file_name&gt; (Displays the commits regarding the particular file)</pre><pre>git log --author = “xyz” -p &lt;file_name&gt; (Shows all the changes made by user xyz to the particular file)</pre><h3>7. stash</h3><p>Use git stash when you want to record the current state of the working directory and the index, but want to go back to a clean working directory. The command saves your local modifications away and reverts the working directory to match the HEAD commit.</p><pre><strong>git stash</strong> list [&lt;options&gt;]</pre><pre><strong>git stash</strong> show [&lt;options&gt;] [&lt;stash&gt;]</pre><pre><strong>git stash</strong> drop [-q|--quiet] [&lt;stash&gt;]</pre><pre><strong>git stash</strong> ( pop | apply ) [--index] [-q|--quiet] [&lt;stash&gt;]</pre><pre><strong>git stash</strong> branch &lt;branchname&gt; [&lt;stash&gt;]</pre><pre><strong>git stash</strong> clear</pre><pre><strong>git stash</strong> create [&lt;message&gt;]</pre><pre><strong>git stash</strong> store [-m|--message &lt;message&gt;] [-q|--quiet] &lt;commit&gt;</pre><h3>8. branch</h3><p>Lists all the branches on the local machine</p><pre>git branch -List branches (the asterisk denotes the current branch)</pre><pre>git branch -aList all branches (local and remote)</pre><pre>git branch [branch name]Create a new branch</pre><pre>git branch -d [branch name]Delete a branch</pre><pre>git push origin --delete [branch name]Delete a remote branch</pre><pre>git checkout -b [branch name]Create a new branch and switch to it</pre><pre>git checkout -b [branch name] origin/[branch name]Clone a remote branch and switch to it</pre><pre>git branch -m [old branch name] [new branch name]Rename a local branch</pre><h3>9. checkout</h3><p>The git checkout command lets you navigate between the branches created by the git branch. Also to reset a file by checking out.</p><pre>git checkout -Switch to the branch last checked out</pre><pre>git checkout -- [file-name.txt]Discard changes to a file</pre><h3>10. merge</h3><p>git-merge joins two or more development histories together. It combines all the integrated changes into a single commit, instead of preserving them as individual commits.</p><pre>git merge [branch name]Merge a branch into the active branch</pre><pre>git merge [source branch] [target branch]Merge a branch into a target branch</pre><h3>11. reset</h3><p>git-reset resets the current HEAD to the specified state.</p><pre>git reset &lt;file_name&gt;</pre><pre>git reset (resets the staging area to the most recent commit  but leave the working directory unchanged)</pre><pre>git reset --hard (Reset the staging area and the working directory to match the most recent commit)</pre><pre>git reset &lt;commit&gt; (Move the current branch tip backward to &lt;commit&gt;, reset the staging area to match, but leave the working directory alone)</pre><h3>12. push — to push the local changes to the remote</h3><p>The git push command is used to upload local repository content to a remote repository. Pushing is how you transfer commits from your local repository to a remote repo.</p><pre>git push origin [branch name] Push a branch to your remote repository</pre><pre>git push -u origin [branch name] Push changes to remote repository (and remember the branch)</pre><pre>git push Push changes to remote repository (remembered branch)</pre><pre>git push origin --delete [branch name] Delete a remote branch</pre><h3>13. pull</h3><p>The <strong>git pull command</strong> is used to fetch and download content from a remote repository and immediately update the local repository to match that content. Merging remote upstream changes into your local repository is a common task in <strong>Git</strong>-based collaboration workflows.</p><pre>git pullUpdate local repository to the newest commit</pre><pre>git pull origin [branch name]Pull changes from remote repository</pre><h3>14. rm</h3><p><strong>git rm</strong> is used to remove a file from a <strong>Git</strong> repository. It is a convenience method that combines the effect of the default shell <strong>rm command</strong> with <strong>git</strong> add.</p><pre>git rm [file name]</pre><h3>15. show</h3><p>This command displays the metadata and content changes of the specified commit.</p><pre>git show [commit id]</pre><h3>GitHub Isn’t Just for Developers</h3><p>Although git is mainly designed for developers, you can use it to host a variety of files. To store JSON stubs or any other files, one can use gist. Also If you have a team that is constantly updating a word document, you could use GitHub as your version control system.</p><h3>References:</h3><p><a href="https://www.atlassian.com/git/tutorials">https://www.atlassian.com/git/tutorials</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6347119c4b76" width="1" height="1" alt=""><hr><p><a href="https://medium.com/mindorks/git-commands-every-junior-developer-should-know-6347119c4b76">Git Commands every junior developer should know…</a> was originally published in <a href="https://medium.com/mindorks">MindOrks</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[S.O.L.I.D Principles Android]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/mindorks/s-o-l-i-d-principles-android-3dc2bc169377?source=rss-2ce8aff8f6a3------2"><img src="https://cdn-images-1.medium.com/max/2600/1*ElK7aJlGHvojo-BpaA5v7w.jpeg" width="6000"></a></p><p class="medium-feed-snippet">If you are a software developer you must have heard about this acronym SOLID. It defines 5 basic software design principles. Let&#x2019;s&#x2026;</p><p class="medium-feed-link"><a href="https://medium.com/mindorks/s-o-l-i-d-principles-android-3dc2bc169377?source=rss-2ce8aff8f6a3------2">Continue reading on MindOrks »</a></p></div>]]></description>
            <link>https://medium.com/mindorks/s-o-l-i-d-principles-android-3dc2bc169377?source=rss-2ce8aff8f6a3------2</link>
            <guid isPermaLink="false">https://medium.com/p/3dc2bc169377</guid>
            <dc:creator><![CDATA[Mrudula]]></dc:creator>
            <pubDate>Fri, 27 Dec 2019 18:47:04 GMT</pubDate>
            <atom:updated>2019-12-27T18:47:04.427Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Testing Android app with Freebase Test Lab…]]></title>
            <link>https://medium.com/mindorks/testing-android-app-with-freebase-test-lab-6550d3c7f4fc?source=rss-2ce8aff8f6a3------2</link>
            <guid isPermaLink="false">https://medium.com/p/6550d3c7f4fc</guid>
            <category><![CDATA[kotlin]]></category>
            <category><![CDATA[espresso]]></category>
            <category><![CDATA[firebase]]></category>
            <category><![CDATA[android-app-development]]></category>
            <category><![CDATA[android]]></category>
            <dc:creator><![CDATA[Mrudula]]></dc:creator>
            <pubDate>Fri, 20 Dec 2019 06:28:11 GMT</pubDate>
            <atom:updated>2019-12-20T07:17:56.624Z</atom:updated>
            <content:encoded><![CDATA[<h3>Testing Android Apps with Firebase Test Lab…</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Eh1ju0aZiQP5Q6UJ-KdevQ.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@clemhlrdt?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Clément H</a> on <a href="https://unsplash.com/s/photos/code?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p><strong>What is the Firebase test lab?</strong></p><p>For those who have not heard of this — Firebase Test Lab is a cloud-based app-testing infrastructure. With one operation, you can test your Android and iOS applications across a wide variety of devices and device configurations, and see the results — including logs, videos, and screenshots — in the Firebase console.</p><p>Have you ever worried about a device-specific crash in production and not having the real device to fix the issue? then Firebase test lab got you. Test Lab exercises your app on devices installed and running in a Google data center, so you can find issues that only occur on specific devices and configurations.</p><p>Test Lab is integrated with the Firebase console, Android Studio, and the gcloud command line tool. You can even use it with Continuous Integration (CI) systems.</p><p><strong>Let us understand how does it work...</strong></p><p>Test Lab uses real, production devices running in a Google data center to test your app. The devices are loaded with new APIs and have customizable locale settings, allowing you to road-test your app on the hardware and configurations it’ll encounter in real-world use.</p><p>Test Lab runs <a href="https://developer.android.com/training/testing/ui-testing/espresso-testing.html">Espresso</a> and <a href="http://developer.android.com/tools/testing-support-library/index.html#UIAutomator">UI Automator 2.0</a> tests on Android apps. Write tests using one of those frameworks, then run them through the <strong>Firebase console</strong> or the <strong>gcloud</strong> command-line interface. If you’re testing on Android-only, you can even have Test Lab create the tests for you, using automated <a href="https://firebase.google.com/docs/test-lab/android/robo-ux-test">Robo tests</a>.</p><p>In this example, I am using Espresso UI tests to demonstrate how the Firebase test lab works.</p><p>Create an <a href="https://codelabs.developers.google.com/codelabs/build-your-first-android-app/#0">Android studio project</a>, Sign in to your Google account and register your app on the <a href="https://console.firebase.google.com/u/0/?hl=fr">firebase console</a>.</p><h3><strong>Step 1— Register your app:</strong></h3><p>Provide your package name. Nickname and sha1 are optional.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/802/1*Cecq2U03vZ_vfy84nOlqmw.jpeg" /><figcaption>Add Firebase to your Android App</figcaption></figure><h3><strong>Step 2— Download Config file:</strong></h3><p>Download the<strong> google-services.json</strong> file, and add it to the project</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/542/1*XyNzrW2sO53VfZ-czZYbLQ.jpeg" /><figcaption>google-services.json</figcaption></figure><h3><strong>Step 3 — Add Firebase SDK:</strong></h3><pre>classpath <strong>&#39;com.google.gms:google-services:4.3.2&#39; - </strong>add this line to project build.gradle</pre><pre>apply <strong>plugin</strong>: <strong>&#39;com.google.gms.google-services&#39; -  </strong>add this line to module build.gradle</pre><h3><strong>Step 4 — Set up your testing environment:</strong></h3><pre>testImplementation <strong>&#39;junit:junit:4.12&#39;<br></strong>androidTestImplementation <strong>&#39;androidx.test.ext:junit:1.1.0&#39;</strong></pre><pre><em>// Espresso<br></em><strong>def </strong>androidx_test_espresso = <strong>&quot;3.1.0&quot;<br></strong>androidTestImplementation <strong>&quot;androidx.test.espresso:espresso-core:</strong>$androidx_test_espresso<strong>&quot;<br></strong>androidTestImplementation <strong>&quot;androidx.test.espresso:espresso-contrib:</strong>$androidx_test_espresso<strong>&quot;<br></strong>implementation <strong>&quot;androidx.test.espresso:espresso-idling-resource:</strong>$androidx_test_espresso<strong>&quot;<br><br></strong><em>// androidx.test<br></em><strong>def </strong>androidx_test = <strong>&quot;1.1.0&quot;<br></strong>androidTestImplementation <strong>&quot;androidx.test:runner:</strong>$androidx_test<strong>&quot;<br></strong>androidTestImplementation <strong>&quot;androidx.test:core:</strong>$androidx_test<strong>&quot;<br></strong>androidTestImplementation <strong>&quot;androidx.test.ext:junit-ktx:</strong>$androidx_test<strong>&quot;</strong></pre><h3><strong>Step 5 — Create two Activities MainActivity and SecondActivity:</strong></h3><pre><strong>class </strong>MainActivity : AppCompatActivity() {<br><br>    <strong>override fun </strong>onCreate(savedInstanceState: Bundle?) {<br>        <strong>super</strong>.onCreate(savedInstanceState)<br>        setContentView(R.layout.<em>activity_main</em>)<br><br>        button_next_activity.setOnClickListener <strong>{<br>            val </strong>intent = Intent(<strong>this</strong>, SecondActivity::<strong>class</strong>.<em>java</em>)<br>            startActivity(intent)<br>        <strong>}<br>    </strong>}<br>}</pre><pre><strong>Layout: </strong><br>&lt;androidx.constraintlayout.widget.ConstraintLayout<br>    xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;<br>    xmlns:app=&quot;http://schemas.android.com/apk/res-auto&quot;<br>    android:layout_width=&quot;match_parent&quot;<br>    android:layout_height=&quot;match_parent&quot;<br>    android:id=&quot;@+id/main&quot;&gt;<br><br>    &lt;TextView<br>        android:layout_width=&quot;wrap_content&quot;<br>        android:layout_height=&quot;wrap_content&quot;<br>        app:layout_constraintTop_toTopOf=&quot;parent&quot;<br>        app:layout_constraintRight_toRightOf=&quot;parent&quot;<br>        app:layout_constraintLeft_toLeftOf=&quot;parent&quot;<br>        android:id=&quot;@+id/activity_main_title&quot;<br>        android:text=&quot;@string/text_mainactivity&quot;<br>        android:textSize=&quot;25sp&quot;<br>        android:textColor=&quot;#000&quot;<br>        android:layout_marginTop=&quot;80dp&quot;<br>        /&gt;<br><br>    &lt;Button<br>        android:layout_width=&quot;wrap_content&quot;<br>        android:layout_height=&quot;wrap_content&quot;<br>        android:id=&quot;@+id/button_next_activity&quot;<br>        app:layout_constraintLeft_toLeftOf=&quot;parent&quot;<br>        app:layout_constraintRight_toRightOf=&quot;parent&quot;<br>        app:layout_constraintTop_toBottomOf=&quot;@+id/activity_main_title&quot;<br>        android:layout_marginTop=&quot;50dp&quot;<br>        android:text=&quot;@string/text_next&quot; /&gt;<br><br>&lt;/androidx.constraintlayout.widget.ConstraintLayout&gt;</pre><pre><strong>class </strong>SecondActivity : AppCompatActivity() {<br><br>    <strong>override fun </strong>onCreate(savedInstanceState: Bundle?) {<br>        <strong>super</strong>.onCreate(savedInstanceState)<br>        setContentView(R.layout.<em>activity_second</em>)<br><br>        button_back.setOnClickListener <strong>{<br>            </strong>onBackPressed()<br>        <strong>}<br>    </strong>}<br>}</pre><pre><strong>Layout:</strong><br><em>&lt;?</em>xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;<em>?&gt;<br></em>&lt;androidx.constraintlayout.widget.ConstraintLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;<br>    xmlns:app=&quot;http://schemas.android.com/apk/res-auto&quot;<br>    android:id=&quot;@+id/secondary&quot;<br>    android:layout_width=&quot;match_parent&quot;<br>    android:layout_height=&quot;match_parent&quot;&gt;<br><br>    &lt;TextView<br>        android:id=&quot;@+id/activity_secondary_title&quot;<br>        android:layout_width=&quot;wrap_content&quot;<br>        android:layout_height=&quot;wrap_content&quot;<br>        android:layout_marginTop=&quot;80dp&quot;<br>        android:text=&quot;@string/text_secondactivity&quot;<br>        android:textColor=&quot;#000&quot;<br>        android:textSize=&quot;25sp&quot;<br>        app:layout_constraintLeft_toLeftOf=&quot;parent&quot;<br>        app:layout_constraintRight_toRightOf=&quot;parent&quot;<br>        app:layout_constraintTop_toTopOf=&quot;parent&quot; /&gt;<br><br>    &lt;Button<br>        android:id=&quot;@+id/button_back&quot;<br>        android:layout_width=&quot;wrap_content&quot;<br>        android:layout_height=&quot;wrap_content&quot;<br>        android:layout_marginTop=&quot;40dp&quot;<br>        android:text=&quot;@string/back&quot;<br>        app:layout_constraintLeft_toLeftOf=&quot;parent&quot;<br>        app:layout_constraintRight_toRightOf=&quot;parent&quot;<br>        app:layout_constraintTop_toBottomOf=&quot;@+id/activity_secondary_title&quot; /&gt;<br><br>&lt;/androidx.constraintlayout.widget.ConstraintLayout&gt;</pre><h3><strong>Step 6 — Let’s create MainActivityTest:</strong></h3><p>Let&#39;s test two scenarios, launching SecondActivity and navigating back to MainActivity from the SecondActivity.</p><pre>@RunWith(AndroidJUnit4ClassRunner::<strong>class</strong>)<br><strong>class </strong>MainActivityTest {<br><br>    @Test<br>    <strong>fun </strong>test_second_activity() {<br><br>        <strong>val </strong>activity_scenario = ActivityScenario.launch(MainActivity::<strong>class</strong>.<em>java</em>)<br><br>        onView(withId(id.<em>button_next_activity</em>)).perform(click())<br><br>        onView(withId(id.<em>secondary</em>)).check(matches(isDisplayed()))<br><br>    }<br><br>    @Test<br>    <strong>fun </strong>test_backPress_toMainActivity() {<br><br>        <strong>val </strong>activityScenario = ActivityScenario.launch(MainActivity::<strong>class</strong>.<em>java</em>)<br><br>        onView(withId(R.id.<em>button_next_activity</em>)).perform(click())<br><br>        onView(withId(R.id.<em>secondary</em>)).check(matches(isDisplayed()))<br><br>        onView(withId(R.id.<em>button_back</em>)).perform(click())<br><br>        onView(withId(R.id.<em>main</em>)).check(matches(isDisplayed()))<br><br>    }<br>}</pre><h3><strong>Step 7 — Let’s create SecondActivityTest:</strong></h3><p>Launch the SecondActivity and test the visibility of the views.</p><pre>@RunWith(AndroidJUnit4ClassRunner::<strong>class</strong>)<br><strong>class </strong>SecondActivityTest {<br><br>    @Test<br>    <strong>fun </strong>testActivity_inView() {<br><br>        <strong>val </strong>activity_scenario = ActivityScenario.launch(SecondActivity::<strong>class</strong>.<em>java</em>)<br><br>        onView(withId(R.id.<em>secondary</em>))<br>            .check(matches(isDisplayed()))<br><br>    }<br><br>    <em>// Check the visibility<br>    </em>@Test<br>    <strong>fun </strong>testVisibility_title_nextButton() {<br>        <strong>val </strong>activity_scenario = ActivityScenario.launch(SecondActivity::<strong>class</strong>.<em>java</em>)<br><br>        onView(withId(R.id.<em>activity_secondary_title</em>))<br>            .check(matches(isDisplayed()))<br><br>        onView(withId(R.id.<em>button_back</em>))<br>            .check(matches(isDisplayed()))<br>    }<br><br>    <em>// Check the text<br>    </em>@Test<br>    <strong>fun </strong>testTitleTextDisplayed() {<br>        <strong>val </strong>activity_scenario = ActivityScenario.launch(SecondActivity::<strong>class</strong>.<em>java</em>)<br><br>        onView(withId(R.id.<em>activity_secondary_title</em>))<br>            .check(matches(withText(R.string.<em>text_secondactivity</em>)))<br>    }<br>}</pre><h3><strong>Step 7 — Create a test suite:</strong></h3><p>A TestSuite is a Composite of Tests. It runs a collection of test cases.</p><pre>@RunWith(Suite::<strong>class</strong>)<br>@Suite.SuiteClasses(<br>    MainActivityTest::<strong>class</strong>,<br>    SecondActivityTest::<strong>class<br></strong>)<br><strong>class </strong>ActivityTestSuite</pre><p><strong>Run your test in one of the following ways:</strong><br>To run a single test, open the Project window, and then right-click a test and click Run.<br>To test all methods in a class, right-click a class or method in the test file and click Run.<br>To run all tests in a directory, right-click on the directory and select Run tests.</p><p>The Android Plugin for Gradle compiles the instrumented test code located in the default directory (src/androidTest/java/), builds a test APK and production APK, installs both APKs on the connected device or emulator, and runs the tests. Android Studio then displays the results of the instrumented test execution in the Run window.</p><p><strong>Run your tests with Firebase Test Lab:</strong></p><p>There is no charge to test your app with Test Lab within the <a href="https://firebase.google.com/docs/test-lab/overview#quota_for_spark_and_flame_plans">free daily quota on the Spark plan</a>.</p><h3><strong>Step 8 — Configure a test matrix and run a test:</strong></h3><p>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 Firebase project with Blaze plan billing, you can create a test configuration and run your tests:</p><p>Click <strong>Run</strong> &gt; <strong>Edit Configurations</strong> from the main menu.<br>Click <strong>Add New Configuration</strong> and select Android Tests.</p><p><strong>In the Android Test configuration dialog:</strong><br>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 Firebase project with Blaze plan billing, you can create a test configuration and run your tests:</p><ol><li>Click <strong>Run</strong> &gt; <strong>Edit Configurations</strong> from the main menu.</li><li>Click <strong>Add New Configuration</strong></li><li>and select <strong>Android Tests</strong>.</li></ol><p><strong>In the Android Test configuration dialog:</strong></p><p>4. Enter or select the details of your test, such as the test name, module type, test type, and test class.</p><p>5. From the <em>Target</em> drop-down menu under <em>Deployment Target Options</em>, select <strong>Firebase Test Lab Device Matrix</strong>.</p><p>6. If you are not logged in, click <strong>Connect to Google Cloud Platform</strong> and allow Android Studio access to your account.</p><p>7. Next to <em>Cloud Project</em>, click the settings icon</p><p>8. button and select your Firebase project from the list.</p><p><strong>Create and configure a test matrix:</strong></p><p>9. Next to the <em>Matrix Configuration</em> drop-down list, click <strong>Open Dialog</strong></p><p>10. Click <strong>Add New Configuration (+)</strong>.</p><p>11. In the <strong>Name</strong> field, enter a name for your new configuration.</p><p>12. Select the device(s), Android version(s), locale(s) and screen orientation(s) that you want to test your app with. Firebase Test Lab will test your app against every combination of your selections when generating test results.</p><p>Click <strong>OK</strong> to save your configuration.</p><p>13. Click <strong>OK</strong> in the <em>Run/Debug Configurations</em> dialog to exit.</p><p>14. Run your tests by clicking <strong>Run</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3C4FkjCZYD_-Y4apdsyakA.jpeg" /><figcaption>Firebase Test Lab Device Matrix</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-LDMm0bTatZpyUm0--WoTQ.jpeg" /><figcaption>create test lab matrix</figcaption></figure><h3><strong>Step 9 — Analyze test results:</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tvxS2M_EUQQZx2FMAFJqbw.jpeg" /><figcaption>Test in progress</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0szWn4kfa8qeW48ZxvhDmA.jpeg" /><figcaption>Test Results</figcaption></figure><p>You can view results on the firebase console as well. Select the <strong>project</strong> and click on test lab, select the matrix to view the results.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HPOj5x2kKgqmtzqdSjicXQ.jpeg" /><figcaption>Firebase test lab results</figcaption></figure><h3>Quota and billing</h3><p>Test Lab is available to use with all three <a href="https://firebase.google.com/pricing/">pricing plans</a>: <em>Spark</em> (free), <em>Flame</em>, and <em>Blaze</em>.</p><p>That’s all about using a Firebase test lab for your UI or instrumentation tests.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6550d3c7f4fc" width="1" height="1" alt=""><hr><p><a href="https://medium.com/mindorks/testing-android-app-with-freebase-test-lab-6550d3c7f4fc">Testing Android app with Freebase Test Lab…</a> was originally published in <a href="https://medium.com/mindorks">MindOrks</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Android Studio Shortcuts…]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@mrudula.mrudumrudula/android-studio-shortcuts-a86730d9d1a4?source=rss-2ce8aff8f6a3------2"><img src="https://cdn-images-1.medium.com/max/2600/1*XEnEE7B_IYvKobT0vmaG7A.jpeg" width="4288"></a></p><p class="medium-feed-snippet">One must have a good knowledge of the IDE he is using. We only explore little of our IDEs that are capable of doing much more. Knowing as&#x2026;</p><p class="medium-feed-link"><a href="https://medium.com/@mrudula.mrudumrudula/android-studio-shortcuts-a86730d9d1a4?source=rss-2ce8aff8f6a3------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@mrudula.mrudumrudula/android-studio-shortcuts-a86730d9d1a4?source=rss-2ce8aff8f6a3------2</link>
            <guid isPermaLink="false">https://medium.com/p/a86730d9d1a4</guid>
            <category><![CDATA[android-apps]]></category>
            <category><![CDATA[android-studio]]></category>
            <category><![CDATA[android-app-development]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[androiddev]]></category>
            <dc:creator><![CDATA[Mrudula]]></dc:creator>
            <pubDate>Fri, 20 Dec 2019 04:16:36 GMT</pubDate>
            <atom:updated>2019-12-20T04:16:36.275Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Six Years of Lessons: What I Learned as an Android Developer]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/better-programming/six-years-of-lessons-what-i-learned-as-an-android-developer-a825b55db7f0?source=rss-2ce8aff8f6a3------2"><img src="https://cdn-images-1.medium.com/max/2600/1*U5lGTsPbZ_b0dIwOPkI-mQ.jpeg" width="5760"></a></p><p class="medium-feed-snippet">Lessons learned in six years of building for Android</p><p class="medium-feed-link"><a href="https://medium.com/better-programming/six-years-of-lessons-what-i-learned-as-an-android-developer-a825b55db7f0?source=rss-2ce8aff8f6a3------2">Continue reading on Better Programming »</a></p></div>]]></description>
            <link>https://medium.com/better-programming/six-years-of-lessons-what-i-learned-as-an-android-developer-a825b55db7f0?source=rss-2ce8aff8f6a3------2</link>
            <guid isPermaLink="false">https://medium.com/p/a825b55db7f0</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[mobile]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[kotlin]]></category>
            <category><![CDATA[java]]></category>
            <dc:creator><![CDATA[Mrudula]]></dc:creator>
            <pubDate>Mon, 16 Dec 2019 01:48:38 GMT</pubDate>
            <atom:updated>2019-12-16T01:48:38.207Z</atom:updated>
        </item>
    </channel>
</rss>