<?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 Kavitha N on Medium]]></title>
        <description><![CDATA[Stories by Kavitha N on Medium]]></description>
        <link>https://medium.com/@kavitha_98844?source=rss-2fa7c0559903------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*BYarKJdGuAlNRKEu-A6sbQ.jpeg</url>
            <title>Stories by Kavitha N on Medium</title>
            <link>https://medium.com/@kavitha_98844?source=rss-2fa7c0559903------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 22:43:21 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@kavitha_98844/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[The Role of QA in the world of DevOps: Automated Deployments.]]></title>
            <link>https://medium.com/testvagrant/the-role-of-qa-in-the-world-of-devops-automated-deployments-edb9d07f93c8?source=rss-2fa7c0559903------2</link>
            <guid isPermaLink="false">https://medium.com/p/edb9d07f93c8</guid>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[qa]]></category>
            <dc:creator><![CDATA[Kavitha N]]></dc:creator>
            <pubDate>Tue, 27 Nov 2018 06:47:06 GMT</pubDate>
            <atom:updated>2018-11-27T06:47:06.097Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>Continuous Integration, Continuous Deployment &amp; Customer Delivery</blockquote><p>In a software Industry, QA’s are always treated differently from software developers. The reason might be because of both having different roles, different responsibilities, different job descriptions, and different management as well.</p><p>However, for other teams who are not involved in engineering lets say — <strong>Operations</strong> they would consider QA and Developers as one team and their perspective is those are working as a single team to deliver a product which will eventually work for the customers.</p><p>In an Agile process of software development, it’s abundantly required that both QA analyst and developers have to learn to work together and make testing and development process more collaborative.</p><p><strong>How to make this happen….</strong></p><p>Considering entire organization is working on the agile development and continuous integration, a QA can get a smoother process by automating the deployment process which will eventually fulfill the business objectives i.e Higher Product Quality &amp; Faster delivery to market</p><p>This is where DevOps comes into picture which means “Development-Operations”. The purpose of DevOps is to get the high-quality product out to the market in a faster time. DevOps is an extension of an agile software development approach that enables software development and testing to happen simultaneously with continuous collaboration between all stakeholders.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/736/0*3oBDs43TYu62Rg3F.png" /></figure><p>DevOps process helps in releasing the high-quality product in lesser time to market. This requires continuous development, continuous testing, continuous deployment in which DevOps helps a team to constantly update and deliver.</p><p>Continuous integration, delivery, and deployment are more dependent on automated tests to determine the efficiency and correctness of each code change. Different types of tests like a unit, smoke, regression… tests are made to run against the code change build to ensure the quality of the application. DevOps process makes developer and QA work together where QA can signup for automating the entire delivery process of an application.</p><p><strong>Need for automating the delivery process</strong></p><ol><li>Simultaneous deployment across different platforms.</li><li>Unit test and service test runs upon continuous integration.</li><li>Quality monitoring</li><li>Business requirement to release application more quickly for production.</li><li>A standardized process to get builds, deployment, end-to-end test automation, &amp; reporting.</li></ol><p><strong>How to automate the Delivery process</strong></p><p>QA can set up the delivery pipeline with various tools which includes</p><ul><li>Souce-code Management</li><li>Continuous Integration (CI)</li><li>Build</li><li>Artifact repository</li><li>Testing Frameworks</li><li>Reporting</li></ul><p>Most familiar available tools in the market are <a href="https://jenkins-ci.org/"><strong>Jenkins</strong></a><strong>, </strong><a href="https://about.gitlab.com/"><strong>GitLab CI</strong></a><strong>, </strong><a href="https://www.jetbrains.com/teamcity/?utm_source=code-maze&amp;utm_medium=cpc&amp;utm_campaign=teamcity"><strong>TeamCity</strong></a><strong>, </strong><a href="https://www.atlassian.com/software/bamboo"><strong>Bamboo</strong></a><strong>, </strong><a href="https://codeship.com/"><strong>Codeship</strong></a><strong>, </strong><a href="https://travis-ci.org/"><strong>Travis CI</strong></a><strong> etc</strong></p><p><strong>Conclusion:</strong></p><p>QA plays an important role in releasing a quality product to the customer. During this process, the role of QA is to act upon team requirements and make testing and development process more collaboration by involving in DevOps.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=edb9d07f93c8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/testvagrant/the-role-of-qa-in-the-world-of-devops-automated-deployments-edb9d07f93c8">The Role of QA in the world of DevOps: Automated Deployments.</a> was originally published in <a href="https://medium.com/testvagrant">TestVagrant</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Automating the testing process using GitLab CI: Trigger, Build & Run]]></title>
            <link>https://medium.com/testvagrant/automating-the-testing-process-using-gitlab-ci-trigger-build-run-9042ef26f396?source=rss-2fa7c0559903------2</link>
            <guid isPermaLink="false">https://medium.com/p/9042ef26f396</guid>
            <category><![CDATA[test-automation]]></category>
            <category><![CDATA[optimus]]></category>
            <category><![CDATA[continuous-integration]]></category>
            <category><![CDATA[continuous-testing]]></category>
            <dc:creator><![CDATA[Kavitha N]]></dc:creator>
            <pubDate>Fri, 20 Jul 2018 16:16:28 GMT</pubDate>
            <atom:updated>2018-11-12T10:18:37.494Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><em>This read gives you easy steps for setting up the pipeline for automated testing and helps you catching bugs faster.</em></blockquote><p>As a <a href="https://www.testvagrant.com/full-stack-quality-engineer/">full stack engineer</a>, he/she should also have knowledge on how to automate the deployment process. Deployment process involves continuous development, continuous testing, continuous deployments where DevOps comes into the picture in which developers and testers work together in releasing the high-quality product in lesser time to market.</p><p>also, read more on <a href="https://medium.com/p/edb9d07f93c8/edit">QA role in DevOps</a></p><p>We will be considering a real-time scenario which made my client company use <a href="https://about.gitlab.com/features/gitlab-ci-cd/">Gitlab CI </a>to set up a testing pipeline. Our client is a product based company which develop apps for Android and iOS. The app has multiple products bundled in one app.</p><p>Since the client follows <a href="https://about.gitlab.com/features/gitlab-ci-cd/">Continuous Integration Development</a>, we can expect several builds in a day. The build should pass through various sandboxed environments leading up to production and stages (stable, develop, master) which has one or more tasks involved.</p><p>So we set up Gitlab CI which works through API needing at least one GitLab instance and GitLab runner to run tests.</p><p>Let start with what is a pipeline and the necessary steps for setting up a pipeline.</p><p><strong>Definition:</strong> A pipeline is a group of job/tasks that get executed in stages also called as batches. All the jobs in stages run sequentially/parallel based on the runners available. If all jobs succeed then the pipeline moves to the next stage. If it fails, next stage will not get executed.</p><p><strong>Why did we set up an automated system to run tests?</strong></p><ul><li>Manual testing is more prone to human error.</li><li>To follow a smoother process — test when there is new code/update in code parallel.</li><li>Reduce QA effort.</li><li>Reduce waiting time to know build quality.</li><li>Categorize tests and run against build (smoke/regression).</li><li>Schedule the tests and make them under control (nightly regression).</li><li>Option for manual/auto triggering of tests.</li></ul><blockquote><strong>Setting up GitLab CI : to trigger, build and run test upon code updates:</strong></blockquote><p>Here’s a practical scenario to consider using <a href="https://github.com/testvagrant/optimusTemplate"><strong>Optimus</strong></a>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*mdgkAh_L-XrynFcP.png" /><figcaption>Simple Steps to setup Gitlab CI for Test Automation</figcaption></figure><p><strong>Step #1: Write Tests and run locally</strong></p><p>Writing tests for mobile apps, users can make choice on different testing frameworks such as Calash, Expresso, Robotium, Optimus etc..</p><p>We opted <a href="https://github.com/testvagrant/optimusTemplate"><em>Optimus framework</em></a><em> </em>for writing tests which is built by <a href="https://www.testvagrant.com/">TestVagrant</a>.</p><p><em>“Optimus is an open source mobile app test automation framework that can be used to start automating any app on any platform in a matter of minutes.”</em></p><p>Sample test :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1dDMa1AA4hK9DTNs" /></figure><p>With Optimus 2.0, we can create a generic step using Optimus syntax without having to worry about creating step definitions and the implementations.</p><p>Consider a step which contains performing an action like tap, click etc.,</p><pre><strong>Syntax</strong></pre><pre><em>Consumer on X screen (performs) action on (element) Y</em></pre><pre><strong>Example</strong></pre><pre><em>User on Login screen taps on submit</em>.</pre><p>Please refer<a href="https://github.com/testvagrant/optimusTemplate/wiki/Generic-Steps"> <strong>Optimus Generic Steps</strong></a> for more examples</p><p><strong>Step #2: Setting up a runner with your testing environment</strong></p><p>Gitlab runner can be installed in 3 ways. We can either use a Docker or download a binary or use a repository for rpm/deb packages.</p><p>We chose to install GitLab Runner on macOS. Steps are as follows:</p><ol><li>Download the binary for your system:</li></ol><pre>sudo curl --output /usr/local/bin/gitlab-runner <a href="https://gitlab-runner-downloads.s3.amazonaws.com/latest/binaries/gitlab-runner-darwin-amd64">https://gitlab-runner-downloads.s3.amazonaws.com/latest/binaries/gitlab-runner-darwin-amd64</a></pre><p>2. Give it permissions to execute:</p><p>sudo chmod +x /usr/local/bin/gitlab-runner</p><p>3. Register the runner</p><pre>gitlab-runner register -n --name  &lt;your-runner-name&gt; -r &lt;your-project-token&gt; -u https://source.golabs.io --executor shell --tag-list &lt;your-runner-tag&gt; --run-untagged false</pre><pre>example:</pre><pre>gitlab-runner register -n --name  optimus-runner -r ghdhwdgdgd5hu_vdvEv56 -u https://source.golabs.io --executor shell --tag-list optimus-smoke --run-untagged false</pre><p>for more info please refer here <a href="https://medium.com/@kavitha_98844/setting-up-automation-test-pipeline-using-gitlab-ci-9042ef26f396"><em>https://docs.gitlab.com/runner/register/index.html</em></a></p><p>4. Install the Runner as service and start it:</p><pre>cd ~</pre><pre>gitlab-runner install</pre><pre>gitlab-runner start</pre><p>5.Install and setup Optimus-cli for the runner</p><pre>npm install -g optimus-cli</pre><pre>optimus setup</pre><p>Refer<a href="https://github.com/testvagrant/optimus_cli/blob/master/README.md"> O<strong>ptimus Setup</strong></a></p><p><strong>Step #3: Set up GitLab CI</strong></p><p><a href="https://about.gitlab.com/">GitLab</a> provides a CI/CD Pipelines feature, to continuously build and run your projects. This requires a .gitlab-ci.ymlfile to configure build process.</p><p>Have a look at this example</p><pre>stages:</pre><pre>- build</pre><pre>- smoke</pre><pre>variables:</pre><pre>RUNNER_ID: optimus-build</pre><pre>before_script:</pre><pre>- chmod +x gradlew</pre><pre>build:</pre><pre>stage: build</pre><pre>tags:</pre><pre>- optimus-build</pre><pre>script:</pre><pre>- ./gradlew clean build</pre><pre>allow_failure: false</pre><pre>artifacts:</pre><pre>when: always</pre><pre>paths:</pre><pre>- ./build/*</pre><pre>test:</pre><pre>stage: smoke</pre><pre>tags:</pre><pre>- optimus-build</pre><pre>script:</pre><pre>- ./gradlew test</pre><pre>allow_failure: false</pre><pre>artifacts:</pre><pre>when: always</pre><pre>paths:</pre><pre>- ./build/*</pre><p>Create a job template for your product depending upon mac mini.</p><pre>.job_template: &amp;optimus_test_template</pre><pre>script:</pre><pre>-        //script to run your test against</pre><pre>artifacts:</pre><pre>when: always</pre><pre>paths:</pre><pre>- build/*.log</pre><pre>- build/reports/cucumber/*</pre><pre>only:</pre><pre>- master</pre><pre>smoke_test:</pre><pre>&lt;&lt;: *consumer_test_template</pre><pre>stage: smoke</pre><pre>tags:</pre><pre>- optimus-build</pre><pre>variables:</pre><pre>RUN_MODE: runDistribution</pre><pre>TAG: &quot;smoke&quot;</pre><pre>TESTFEED: Application</pre><pre>when: manual</pre><p>When commit is pushed to the repository, GitLab will look for .gitlab-ci.yml from the root directory and trigger a build according to the settings configured. GitLab Runner uses this file to manage project’s jobs which defines how the project should be built.</p><p>Refer to know more about <a href="https://docs.gitlab.com/ee/ci/pipelines.html"><strong>pipeline setup</strong>.</a></p><p>In this script, GitLab looks for the job template and then it installs the required packages and then starts the process. So this is how the pipeline looks</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HeP03gmY88FVGExMCF1cyw.png" /></figure><p><strong>Step #4: Run and report test results periodically</strong></p><p>Pipelines can be setup according to user requirements. Tests can be made run on every build triggered on pipeline or can be run periodically by setting up <a href="https://en.wikipedia.org/wiki/Cron">Cron Jobs.</a></p><p>We can also setup pipeline for Nightly Runs where we can schedule the time by <a href="http://www.nncron.ru/help/EN/working/cron-format.htm">cron syntax</a>. The Requirement for nightly run depends on the team where they want to run all the tests (smoke &amp; regressions) when there is no deployment . Nightly test runs will definitely yield good test reports.</p><p>Reporting Test results will also vary based on teams, according to their requirements like intimation on the <a href="http://www.nncron.ru/help/EN/working/cron-format.htm">slack channel</a>, generating html reports, save test runs in DB and display on dashboards. At the client, we have implemented test reporting and using it across multiple teams.</p><ol><li><strong>Slack Notification:</strong></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/970/0*xPUmqu5O9WN6EzaM.png" /></figure><p><strong>2. HTML Reporting:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EN0xtV2EhSlydblhUMhfDw.png" /></figure><p><strong>3. Optimus DashBoard Reporting</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qrhEnSPPxsxOjM3DlMQpHg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zJuuME0JNQNedmqhN9oQ6g.png" /></figure><h3>Conclusion:</h3><p>Setting up an automated pipeline for testing makes QA life easier by finding the bugs in the pipeline. Whenever there is code change in the project, tests run against the build and generate test reports to notify Devs and QA. The automated testing process becomes easier.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9042ef26f396" width="1" height="1" alt=""><hr><p><a href="https://medium.com/testvagrant/automating-the-testing-process-using-gitlab-ci-trigger-build-run-9042ef26f396">Automating the testing process using GitLab CI: Trigger, Build &amp; Run</a> was originally published in <a href="https://medium.com/testvagrant">TestVagrant</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>