<?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 Kerim Can Yücel on Medium]]></title>
        <description><![CDATA[Stories by Kerim Can Yücel on Medium]]></description>
        <link>https://medium.com/@kcanyucel?source=rss-43227ae4e7a4------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*5GDbi_3egVgltaQ6SBoMXg.png</url>
            <title>Stories by Kerim Can Yücel on Medium</title>
            <link>https://medium.com/@kcanyucel?source=rss-43227ae4e7a4------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 02:48:40 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@kcanyucel/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[Simplify Your Functional Test Reporting using AWS S3: Step-by-Step Instructions and Examples]]></title>
            <link>https://medium.com/@kcanyucel/simplify-your-functional-test-reporting-using-aws-s3-step-by-step-instructions-and-examples-fa615a9b3a66?source=rss-43227ae4e7a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/fa615a9b3a66</guid>
            <category><![CDATA[test-report]]></category>
            <category><![CDATA[aws-s3]]></category>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[test-automation]]></category>
            <dc:creator><![CDATA[Kerim Can Yücel]]></dc:creator>
            <pubDate>Fri, 31 Mar 2023 13:50:14 GMT</pubDate>
            <atom:updated>2023-04-16T23:45:32.606Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*husantv7FyakXdeiq0eQVg.png" /></figure><p>In this article, I will share why we need a functional test reporting system and how we manage the test reporting process in Dolap Team.</p><h4>Some Technical Challenges That We Solved with AWS S3</h4><p>Before utilizing a test reporting system, we checked each project’s pipelines for test results. The implementation of the AWS bucket system has provided the following benefits to our testing process:</p><ul><li>Centralized access to test reports for multiple projects</li><li>More efficient tracking and analysis of test results</li><li>Faster identification and resolution of issues.</li><li>Improved communication and collaboration among the team</li></ul><h4>What is AWS S3?</h4><p><strong>Amazon Simple Storage Service (Amazon S3)</strong> is an object storage service offering scalability, data availability, security, and performance.</p><p><strong>AWS S3 Bucket</strong> stores data as objects, with each object being identified by a unique key. This key is then used to access and manipulate the object within the system.</p><h4>Why AWS S3?</h4><ul><li>Amazon S3 offers scalable and cost-effective pricing based on storage and bandwidth usage.</li><li>AWS S3 has a simple structure for storing and distributing static HTML files, making it easy to set up a website quickly.</li><li>Static content such as HTML, CSS, and JavaScript files can be hosted on Amazon S3, resulting in faster website load times as content can be served directly from the S3 bucket without the need for server-side processing.</li></ul><h4>How to use Amazon S3 Bucket to report on your functional test projects</h4><p>Initially, we must create a bucket via <strong>Amazon Web Service (AWS)</strong>.</p><figure><img alt="ee" src="https://cdn-images-1.medium.com/max/1024/1*UZE9iojnwu3vVgSsrY87Jw.png" /></figure><p>We will navigate to the <strong>AWS &gt; S3 &gt; Buckets </strong>and click <strong>“Create Bucket” </strong>button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/978/1*c5eXqnKMxcTQDbpthwFzkQ.png" /></figure><p>After clicking the <strong>“Create Bucket”</strong> button, we can name our bucket and save the settings using the default configurations.</p><p>Once the bucket is created, the next step is to prepare the GitLab CI/CD script in the gitlab-ci.yml file.</p><pre>stages:<br>  - test<br>  - report<br><br>functional_test:<br>run_tests:<br>  stage: test<br>  script:<br>    - mvn clean install -U -s settings.xml<br>    expire_in: 24h<br>    paths:<br>      - target/cucumber-html-reports<br><br>upload_reports:<br>  stage: report<br>  script:<br>    - aws s3 cp target/cucumber-html-reports s3://example-bucket-5/example-project/target/cucumber-html-reports --recursive</pre><p>This file is used to define the <strong>build</strong>, <strong>test</strong>, and <strong>deployment</strong> steps for your application, as well as any required environment variables and AWS credentials.</p><p>In the gitlab-ci.yml file, we can define the <strong>test</strong> stage to run your project&#39;s tests and specify that the cucumber-html-reports file should be stored as an artifact for up to 24 hours later use.</p><p>We can use the aws s3 cp command to copy the cucumber-html-reports file from the target directory to our S3 bucket named <strong>example-bucket-5.</strong></p><p>This will recursively copy the cucumber-html-reports directory and its contents to the specified S3 bucket location.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dapgUlr_mVKxBGQufV5vXw.png" /></figure><p>To begin with, you need to install the AWS Command Line Interface (CLI) and have access to a terminal or command prompt. After running this command, we can see <strong>example-project</strong> in <strong>example-bucket-5</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lEE5hgTP-cgzc4AbKZthcg.png" /></figure><p>If we navigate to the example-project/target/cucumber-html-reports directory, we should be able to locate the overview-features.html file.</p><p>overview-features.html file contains an overview of your test results in HTML format, we can click it and the object overview page will open.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DMqc7Xjp_32Hm3Nc5bZQGQ.png" /></figure><p>We can click on the <strong>Object URL</strong> link to view the cucumber reports.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SUJ8V4Pb3tTDK7F-9gErGQ.png" /></figure><p>This will open the overview-features.html file in a web browser, displaying the results of our tests :)</p><h4>How to consolidate multiple projects into a single reporting bucket</h4><p>After defining gitlab-ci.yml CI/CD steps to our projects when we run our project in the pipeline,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jTbYswwocKGPn2-5zhySAA.png" /></figure><p>We can see our projects in our created bucket.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M6tZSCJQcBEqOsdlcrI-Og.png" /></figure><p>By uploading index.htmlfile, we can see all of our <strong>Object URLs</strong> on one page. This makes it easier to manage and access our objects.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hU4uYzsQSiFAoZfKwJAZFQ.png" /></figure><p>The index.html contain links to each <strong>Object URL</strong> for quick navigation.After opening the index.html <strong>Object URL</strong>, we can easily access the reports.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*evAR-NDpj53LaHmthWlMSw.png" /></figure><p>This saves our time and customizes the page for a better user experience.</p><h4>Conclusion</h4><p>In summary, we initially used an AWS bucket for functional test reporting on the Dolap and found it to be useful and convenient.</p><p>We will show the last report in the test reporting system. If you prefer, you can define the reports by dates and store them in the bucket.</p><p>However, we later discovered Gitlab pages and decided to switch to it as an alternative to using external storage like AWS bucket.</p><p>You can refer to the following articles for more information on reporting processes on the Dolap Team.</p><blockquote><a href="https://medium.com/dolap-tech/how-to-run-selenium-automation-tests-on-gitlab-ci-cd-github-actions-bd743142ad4c">How to Run Selenium Automation Tests on Gitlab CI/CD &amp; Github Actions?</a></blockquote><blockquote><a href="https://medium.com/@hakkietem350/f9139d86ad98">Test Automation Reporting Methods</a></blockquote><p><strong>Thanks for reading :)</strong></p><blockquote><em>If you want to be part of a team that tries new technologies and want to experience a new challenge every day, come to us.</em></blockquote><ul><li><a href="https://medium.com/trendyol-tech">Trendyol Tech</a></li><li><a href="https://medium.com/dolap-tech">Dolap Tech</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fa615a9b3a66" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>