<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Cinthia Barbosa da Silva</title>
    <description>The latest articles on DEV Community by Cinthia Barbosa da Silva (@cinthiabs).</description>
    <link>https://dev.to/cinthiabs</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1374784%2F682f566b-8740-4160-ab2b-d1b13dddfc4f.jpeg</url>
      <title>DEV Community: Cinthia Barbosa da Silva</title>
      <link>https://dev.to/cinthiabs</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/cinthiabs"/>
    <language>en</language>
    <item>
      <title>My Goals for 2026 in Technology</title>
      <dc:creator>Cinthia Barbosa da Silva</dc:creator>
      <pubDate>Tue, 13 Jan 2026 21:06:05 +0000</pubDate>
      <link>https://dev.to/cinthiabs/my-goals-for-2026-in-technology-dae</link>
      <guid>https://dev.to/cinthiabs/my-goals-for-2026-in-technology-dae</guid>
      <description>&lt;p&gt;Hi everybody,&lt;/p&gt;

&lt;p&gt;I want to share some of my technology goals for 2026. Over the past years, I’ve learned a lot by practicing, working on real projects, and sharing knowledge with the community.&lt;br&gt;
So, I want to share some of my technology goals for 2026 and what I’m planning to focus on this year!!&lt;/p&gt;

&lt;p&gt;1) Post more content here on Dev Community&lt;/p&gt;

&lt;p&gt;I don’t know if you know this, but I started writing here to share the technologies that I was learning and also to practice my English writing. I want to continue doing this and post more frequently, because sharing knowledge helps me learn better and improve my communication skills.&lt;/p&gt;

&lt;p&gt;2) Document my backend experiences&lt;/p&gt;

&lt;p&gt;In 2025, I was focused on backend development. I posted a personal project on GitHub using the knowledge I gained at work. Now, I want to go a step further and share these experiences here with documentation, challenges, and lessons learned along the way.&lt;/p&gt;

&lt;p&gt;3) Study more about front-end&lt;/p&gt;

&lt;p&gt;I started a new position, and now I work as a full-stack developer. That means I need to improve my front-end skills as well. I’m excited to learn new tools, frameworks, and best practices, and to become more confident building complete applications.&lt;/p&gt;

&lt;p&gt;4) Study architecture and microservices&lt;/p&gt;

&lt;p&gt;Another important goal is to study software architecture and microservices more deeply. I want to better understand the context, trade-offs, and real-world applications of these concepts, especially in scalable systems.&lt;/p&gt;

&lt;p&gt;So...these goals are not just about learning new technologies, but also about growing as a developer and sharing this journey with the community. I hope that I can help others who are on a similar path!&lt;/p&gt;

&lt;p&gt;Happy New Year to all! See you in the next post!&lt;/p&gt;

</description>
      <category>backend</category>
      <category>frontend</category>
      <category>programming</category>
      <category>webdev</category>
    </item>
    <item>
      <title>How to Analyze GitHub Projects with SonarQube Cloud</title>
      <dc:creator>Cinthia Barbosa da Silva</dc:creator>
      <pubDate>Fri, 20 Jun 2025 22:32:38 +0000</pubDate>
      <link>https://dev.to/cinthiabs/how-to-analyze-github-projects-with-sonarqube-cloud-4hjl</link>
      <guid>https://dev.to/cinthiabs/how-to-analyze-github-projects-with-sonarqube-cloud-4hjl</guid>
      <description>&lt;p&gt;Hi everybody,&lt;/p&gt;

&lt;p&gt;In this article, I’ll show you how to perform code analysis on GitHub using SonarQube Cloud.&lt;/p&gt;

&lt;p&gt;I’ve recently started using this tool at work, and I also use it in my personal projects on GitHub. If you’re not familiar with SonarQube Cloud, don’t worry, I’ll give you a quick overview of what it is and how you can easily set it up in your own project.&lt;/p&gt;

&lt;p&gt;SonarQube Cloud created in 2017 is a tool for static code analysis that helps developers find and fix problems like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Bugs&lt;/li&gt;
&lt;li&gt;Vulnerabilities&lt;/li&gt;
&lt;li&gt;Code Smells&lt;/li&gt;
&lt;li&gt;Test Coverage&lt;/li&gt;
&lt;li&gt;Security and Compliance Risks&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;SonarQube Cloud also works well with platforms like GitHub, GitLab, Bitbucket and Azure DevOps.&lt;/p&gt;

&lt;p&gt;Now that you know a little bit about SonarQube Cloud, let’s get started with how to set up in your project!&lt;/p&gt;

&lt;p&gt;The first step is to connect your GitHub account to SonarQube Cloud.&lt;/p&gt;

&lt;p&gt;In my case, I already have some projects there, but I’ll share a link that shows how to connect your account and set everything up you need,&lt;br&gt;
right here &lt;a href="https://www.youtube.com/watch?v=n7Rf2uibD6g" rel="noopener noreferrer"&gt;Get started with SonarCloud in 3 easy steps!&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzr8mdzm9zlelijup997a.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzr8mdzm9zlelijup997a.png" alt="account with github" width="800" height="357"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;To start a new project, click the &lt;strong&gt;“+”&lt;/strong&gt; icon at the top and choose &lt;strong&gt;“Analyze new project”&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjp9z731mlsuoytfr2811.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjp9z731mlsuoytfr2811.png" alt="home page - SonarCloud" width="800" height="341"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fa0h162oz07fu7ve3jrv7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fa0h162oz07fu7ve3jrv7.png" alt="new project" width="385" height="191"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I already have some projects in my account, but to create a new one, we need to click on "GitHub App Configuration."&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F62j0izxattdqfszqx8m6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F62j0izxattdqfszqx8m6.png" alt="configure" width="800" height="535"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After that, you’ll need to authenticate with your GitHub account. Then, you will be redirected to the "Installed GitHub Apps" page. There, click on "Configure" next to SonarCloud to proceed.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzfw9r8d3ecqyrdw2owad.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzfw9r8d3ecqyrdw2owad.png" alt="select project" width="800" height="309"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here, "Repository Access," you have two options:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Only select repositories (the one I chose), or&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;All repositories (if you prefer, you can pick what works best for you.&lt;br&gt;
).&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I selected my repository "Products-api" and then clicked "&lt;strong&gt;Save&lt;/strong&gt;"&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnmu3xwjw06tfezbj94r4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnmu3xwjw06tfezbj94r4.png" alt="Repository Access" width="800" height="366"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Back in SonarQube Cloud, your new repository is now available. Just select it and click on "Set Up".&lt;/p&gt;

&lt;p&gt;Next, you’ll see two setup options:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Previous version (this is the one I chose)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Number of days (you can choose this if it makes more sense for your project)&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;After selecting the option that your needs, click on "Create Project".&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsw8o0i5qx7l1m1udh3hp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsw8o0i5qx7l1m1udh3hp.png" alt="version - SonarCloud" width="800" height="289"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now, back in the "products-api" repository on GitHub, we can see that SonarQube Cloud is connected and ready.&lt;/p&gt;

&lt;p&gt;To trigger the first code analysis, we just need to make a commit in the project.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftayum0siv6lbns0g71tx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftayum0siv6lbns0g71tx.png" alt="Sonar working" width="800" height="405"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After making a commit to the main branch (or any other branch... SonarQube Cloud will analyze any branch as long as you push a new commit), the code analysis is automatically triggered.&lt;/p&gt;

&lt;p&gt;Once the analysis is complete, you’ll see a summary of the results directly in the GitHub interface, under the “Checks” tab of your pull request or commit.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnypvzekm0cn50vizsvhd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnypvzekm0cn50vizsvhd.png" alt="Summary" width="800" height="305"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This summary includes useful information such as:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Whether the code passed or failed the Quality Gate&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The number of bugs, vulnerabilities, and code smells found&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The test coverage percentage&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Any duplicated code&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fi6mi43dq1mvhqvr3uzxb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fi6mi43dq1mvhqvr3uzxb.png" alt="review" width="800" height="321"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here we can see some issues that were detected in my project by SonarQube Cloud, including this one and many other details.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F33im5sz1rcuphn3srsyz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F33im5sz1rcuphn3srsyz.png" alt="some issues" width="800" height="363"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;That is for today. If you found this article helpful, please share and leave a comment.❤️&lt;/p&gt;

</description>
      <category>sonar</category>
      <category>github</category>
      <category>githubactions</category>
    </item>
    <item>
      <title>How to test authentication JWT on Thunder Client</title>
      <dc:creator>Cinthia Barbosa da Silva</dc:creator>
      <pubDate>Fri, 27 Sep 2024 22:53:20 +0000</pubDate>
      <link>https://dev.to/cinthiabs/how-to-test-authentication-jwt-on-thunder-client-3mg3</link>
      <guid>https://dev.to/cinthiabs/how-to-test-authentication-jwt-on-thunder-client-3mg3</guid>
      <description>&lt;p&gt;I am developing an API, and recently I needed to test an authentication endpoint using the Bearer Token method. It made me think... why not share this process with the Dev Community using Thunder Client? I have already written an article about what Thunder Client is and how to use this VS Code extension, which you can find &lt;a href="https://dev.to/cinthiabs/thunder-client-how-to-use-to-test-apis-4hfj"&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Let’s see how you can easily test authentication with Thunder Client! 🚀&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Credentials&lt;/strong&gt;: Normally in APIs, authentication starts with a POST request using credentials like an email and password. In my case, I’m using an email and password in the request body, to send to the API endpoint “api/v1/Authentication”&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;My GitHub with this repository:&lt;/strong&gt; &lt;a href="https://github.com/cinthiabs/sales-management-api" rel="noopener noreferrer"&gt;repository-github&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fd0px49dw7gddhixp7vyl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fd0px49dw7gddhixp7vyl.png" alt="Image description" width="800" height="415"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Receive the response:&lt;/strong&gt; After sending the request, the API responds with important details such as an access token, its expiry date, and possibly user data. The most important here is the token.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Use the token for authentication&lt;/strong&gt;: With the token in hand, you can make further requests to protected endpoints by passing the token in the request header. In this example, we’re working with Bearer Token Authentication.  In my case, I will use the endpoint “api/v1/GetAllProducts”  to test getting products &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Add token in Thunder Client:&lt;/strong&gt; Click on the Auth tab in Thunder Client, select "Bearer Token" from the options, and paste your token in the field, then click on "Send"&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbzp6pv3h5qy3li073j19.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbzp6pv3h5qy3li073j19.png" alt="Image description" width="800" height="488"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now, we can see the response with the authorization&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fapqvkn7qc41cn2yu6dfn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fapqvkn7qc41cn2yu6dfn.png" alt="Image description" width="800" height="502"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If the Bearer token is not passed, the return will be &lt;strong&gt;Unauthorized&lt;/strong&gt; as in the example below.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fysrljtmci03suerveikv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fysrljtmci03suerveikv.png" alt="Image description" width="800" height="385"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;That is for today, If you found this article helpful, please share and leave a comment.❤️&lt;/p&gt;

</description>
      <category>thunder</category>
      <category>tutorial</category>
      <category>api</category>
      <category>testing</category>
    </item>
    <item>
      <title>Automating unit tests with xUnit on GitHub Actions</title>
      <dc:creator>Cinthia Barbosa da Silva</dc:creator>
      <pubDate>Fri, 20 Sep 2024 23:56:19 +0000</pubDate>
      <link>https://dev.to/cinthiabs/automating-unit-tests-with-xunit-on-github-actions-2ek6</link>
      <guid>https://dev.to/cinthiabs/automating-unit-tests-with-xunit-on-github-actions-2ek6</guid>
      <description>&lt;p&gt;&lt;strong&gt;Hi there!&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In this article, I will share how you can run your unit tests using GitHub Actions!&lt;/p&gt;

&lt;p&gt;Let's go!🚀&lt;/p&gt;

&lt;p&gt;Before we start, make sure you have the following two basic steps:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;A GitHub repository with your project.&lt;/li&gt;
&lt;li&gt;Unit tests already implemented.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Now, let's implement CI on GitHub Actions. Here’s what you need to do:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;In your repository, create two folders with the names &lt;code&gt;.github/workflows&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Inside this folder workflows, create a file with the extension &lt;code&gt;.yml&lt;/code&gt;, for example: &lt;code&gt;run-tests.yml&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Next, it's time to define the steps to run your CI pipeline. Below is an example of how to set up your GitHub Actions workflow to run your unit tests.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;name: CI - Unit Test

on:
  push:
    branches:
      - main
  pull_request:
    branches:
      - main

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
      - name: Check out repository code
        uses: actions/checkout@v2

      - name: Set up .NET
        uses: actions/setup-dotnet@v3
        with:
          dotnet-version: '8.x'

      - name: Restore dependencies
        run: dotnet restore ./src/sales-management-api.sln

      - name: Build the solution
        run: dotnet build ./src/sales-management-api.sln --configuration Release --no-restore

      - name: Run unit tests with report
        run: dotnet test ./src/Test/Test.csproj --configuration Release --no-build --logger "trx;LogFileName=TestResults.trx"

      - name: Upload test results
        uses: actions/upload-artifact@v4
        with:
          name: TestResults
          path: ./src/Test/TestResults/TestResults.trx

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Explaining the steps:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Check out repository code&lt;/strong&gt;: This step clones your GitHub repository so that the actions can run on the source code.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Set up .NET&lt;/strong&gt;: This configures the .NET SDK version you'll use to build and run tests, in my case, I am using version 8.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Restore dependencies&lt;/strong&gt;: This restores all the necessary NuGet packages required by your project.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Build the solution&lt;/strong&gt;: This compiles the code with the command dotnet build + path&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Run unit tests&lt;/strong&gt;: Runs the unit tests and generates a &lt;code&gt;.trx&lt;/code&gt; report file with the command dotnet test + path&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;(Optional) Upload test results&lt;/strong&gt;: This step uploads the test results as an artifact, allowing you to download and view the test output.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;By following this setup, you’ll have continuous integration running your unit tests automatically when you push to the &lt;code&gt;main&lt;/code&gt; branch or submit a pull request.&lt;/p&gt;

&lt;p&gt;Now, every push will trigger the tests, and the results will be available in the Actions tab on GitHub.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdhhdco0rio7j0l3w933l.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdhhdco0rio7j0l3w933l.png" alt="Image description" width="800" height="172"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We can see the result in “Run unit tests with report” how many tests passed or failed, as well as their duration.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdmjlxa42smp7sepdhdfa.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdmjlxa42smp7sepdhdfa.png" alt="Image description" width="800" height="434"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;My repository with this implementation: &lt;a href="https://github.com/cinthiabs/sales-management-api" rel="noopener noreferrer"&gt;my-github&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This is for today! If you have any questions, leave me a comment!&lt;/p&gt;

&lt;p&gt;If you found this article helpful, please like the post.❤️&lt;/p&gt;

</description>
      <category>dotnet</category>
      <category>githubactions</category>
      <category>unittest</category>
      <category>cicd</category>
    </item>
    <item>
      <title>Essential Git Commands</title>
      <dc:creator>Cinthia Barbosa da Silva</dc:creator>
      <pubDate>Sun, 14 Jul 2024 18:52:44 +0000</pubDate>
      <link>https://dev.to/cinthiabs/essential-git-commands-4o3c</link>
      <guid>https://dev.to/cinthiabs/essential-git-commands-4o3c</guid>
      <description>&lt;p&gt;In this post we will learn the basic and essential commands of Git that developers use in their daily lives!&lt;/p&gt;

&lt;p&gt;Let's go!🚀&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Settings:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;To set the global username&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git config --global user.name "username"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To set the global email:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git config --global user.email "user@email.com"

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Basic Commands:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;To initialize a git repository&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git init
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To clone a repository&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git clone &amp;lt;URL&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To check the changes&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git status
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To add a file&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git add my-file
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To add all changed files&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git add .
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To commit your changes&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git commit -m "my first commit"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To push changes to the current branch&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git push 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To update your branch with changes&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git pull
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To switch branches&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git checkout develop
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To update your local repository with remove changes&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git fetch
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To create a new branch&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git branch my-new-branch
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Essential Command to Merge and check log:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;To merge a branch&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git merge my-branch
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To check log&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git log
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To revert a commit&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git revert 001
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This is for today! If you have any questions, leave me a comment!&lt;/p&gt;

&lt;p&gt;And you found this article helpful, please like the post.❤️&lt;/p&gt;

</description>
      <category>git</category>
      <category>github</category>
      <category>tutorial</category>
      <category>learning</category>
    </item>
    <item>
      <title>How to Publish Cypress Test Results to Azure Devops</title>
      <dc:creator>Cinthia Barbosa da Silva</dc:creator>
      <pubDate>Sat, 15 Jun 2024 12:26:40 +0000</pubDate>
      <link>https://dev.to/cinthiabs/how-to-publish-cypress-test-results-to-azure-devops-4aah</link>
      <guid>https://dev.to/cinthiabs/how-to-publish-cypress-test-results-to-azure-devops-4aah</guid>
      <description>&lt;p&gt;Continuing on the integration between &lt;strong&gt;Cypress&lt;/strong&gt; and &lt;strong&gt;Azure Devops&lt;/strong&gt;,  in this post I am going to share how to publish test results!&lt;br&gt;
If you found this article helpful, please leave a comment.❤️&lt;/p&gt;

&lt;p&gt;Let's go!🚀&lt;/p&gt;

&lt;p&gt;First of all, make sure your tests are in a &lt;strong&gt;Git repository (“Repos”)&lt;/strong&gt; in Azure DevOps.&lt;/p&gt;

&lt;p&gt;Next, we have to install the package &lt;a href="https://www.npmjs.com/package/cypress-junit-reporter" rel="noopener noreferrer"&gt;JUnit Reporter for Cypress&lt;/a&gt; as a project dependency&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ npm install cypress-junit-reporter --save-dev
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;After that, in your Cypress test code, you need to configure the settings in the "cypress.config.js" file as follows:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;reporter: 'mocha-junit-reporter',
  reporterOptions: {
    mochaFile: 'results/test-results-[hash].xml',
  }
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then, we need to include in the file .gitignore the folder "&lt;strong&gt;results&lt;/strong&gt;", because every execution generates a new file with a hash code.&lt;/p&gt;

&lt;p&gt;Now, navigate to Pipelines. If you already have a configured pipeline, locate it and click on &lt;strong&gt;Edit&lt;/strong&gt; to make changes.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgve6tge4nw3sl98ejrgk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgve6tge4nw3sl98ejrgk.png" alt="Image description" width="280" height="322"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In your pipeline editor within Azure DevOps, navigate to Tasks and use the search bar to find the task named "Publish Test Results".&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F12nw5i6993qdy4h8pdyr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F12nw5i6993qdy4h8pdyr.png" alt="Image description" width="800" height="298"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now, you'll configure the task:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Set the "Test result format" to &lt;strong&gt;JUnit&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Set the &lt;strong&gt;path&lt;/strong&gt; to publish the test files.&lt;/li&gt;
&lt;li&gt;Check the option to &lt;strong&gt;merge test results&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;After configuring these settings, click on &lt;strong&gt;Add&lt;/strong&gt; to add the task to your pipeline.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fosexq2z9hx27q34okerc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fosexq2z9hx27q34okerc.png" alt="Image description" width="360" height="783"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now, the configuration has been added to the azure-pipeline.yml file.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdnleftbuoegv4uux42cp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdnleftbuoegv4uux42cp.png" alt="Image description" width="645" height="605"&gt;&lt;/a&gt;&lt;br&gt;
Once you have saved the azure-pipeline.yml file, initiate the test build by clicking on &lt;strong&gt;"Run Pipeline"&lt;/strong&gt; in Azure DevOps. This action will start the CI/CD pipeline and execute the defined tasks, including a new configuration for test publish results.&lt;/p&gt;

&lt;p&gt;After running the test, navigate to the &lt;strong&gt;"Test"&lt;/strong&gt; to see a summary about the test, including execution time, how many tests passed and how many failed.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fh2kwpb6orqv0bo7pjjou.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fh2kwpb6orqv0bo7pjjou.png" alt="Image description" width="800" height="160"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;A very useful feature is that when a test fails we can create a &lt;strong&gt;"bug"&lt;/strong&gt; task with all the details in Azure Devops!&lt;/p&gt;

&lt;p&gt;This is for today! If you have any questions, leave me a comment!&lt;/p&gt;

&lt;p&gt;And you found this article helpful, please like the post.❤️&lt;/p&gt;

</description>
      <category>azure</category>
      <category>devops</category>
      <category>cypress</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Thunder Client: How to use to test APIs</title>
      <dc:creator>Cinthia Barbosa da Silva</dc:creator>
      <pubDate>Sat, 04 May 2024 18:20:08 +0000</pubDate>
      <link>https://dev.to/cinthiabs/thunder-client-how-to-use-to-test-apis-4hfj</link>
      <guid>https://dev.to/cinthiabs/thunder-client-how-to-use-to-test-apis-4hfj</guid>
      <description>&lt;p&gt;Recently, I started using an amazing VSCode extension called &lt;strong&gt;"Thunder Client"&lt;/strong&gt; which makes it easy to make HTTP requests for testing APIs. I'm loving this tool! In this article, I will share what Thunder Client is how you can install it, and start using it today!&lt;/p&gt;

&lt;p&gt;Let's go!🚀&lt;/p&gt;

&lt;h2&gt;
  
  
  What is Thunder Client?
&lt;/h2&gt;

&lt;p&gt;Thunder Client is an extension for Visual Studio Code that simplifies API and web service testing. With it, you can make HTTP requests using GET, POST, PUT, DELETE, PATCH, HEAD, and OPTIONS methods. This extension aims to provide a simple, fast, and clean usability for the user.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to install
&lt;/h2&gt;

&lt;p&gt;The installation is simple,  just search for the name &lt;strong&gt;"Thunder Client"&lt;/strong&gt; in the "Extensions" of Vscode and click on install&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fz4td5wnfxaav9sgi2mwz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fz4td5wnfxaav9sgi2mwz.png" alt="Image description" width="800" height="224"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;By clicking &lt;strong&gt;"New request"&lt;/strong&gt; we can see all the available HTTP methods (GET, POST, PUT, DELETE, PATCH, HEAD...) for making requests.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbziifgqpwvk0jltcowal.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbziifgqpwvk0jltcowal.png" alt="Image description" width="800" height="356"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In just a few minutes, we can test it out. Here, I made a call to test an API that I had created. Basically, you input the URL, method, headers, or body if necessary on the left side, and on the right side, we receive the response.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6fmwukxwf3uotik89ty7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6fmwukxwf3uotik89ty7.png" alt="Image description" width="800" height="507"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We can create a collection and save our tests by clicking on the three dots and selecting the &lt;strong&gt;"Save to Collection"&lt;/strong&gt; option.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnj6y4wo47xxr3i2hs35s.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnj6y4wo47xxr3i2hs35s.png" alt="Image description" width="443" height="635"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Simply enter a request name, URL, select the Create New option and enter the new name. After that, save the changes.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fq3ech5g8q2aqsh11a258.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fq3ech5g8q2aqsh11a258.png" alt="Image description" width="800" height="716"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Finally, we can see our saved collection on the left side under the &lt;strong&gt;"Collections"&lt;/strong&gt; section.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fohondcsnrbxprxl9h91x.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fohondcsnrbxprxl9h91x.png" alt="Image description" width="366" height="492"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you found this article helpful, please leave a comment.❤️&lt;/p&gt;

</description>
      <category>thunder</category>
      <category>tutorial</category>
      <category>api</category>
      <category>testing</category>
    </item>
    <item>
      <title>Integration Cypress with Azure DevOps: Publishing test videos in your Pipeline</title>
      <dc:creator>Cinthia Barbosa da Silva</dc:creator>
      <pubDate>Sun, 14 Apr 2024 15:16:31 +0000</pubDate>
      <link>https://dev.to/cinthiabs/integration-cypress-with-azure-devops-publishing-test-videos-in-your-pipeline-11p5</link>
      <guid>https://dev.to/cinthiabs/integration-cypress-with-azure-devops-publishing-test-videos-in-your-pipeline-11p5</guid>
      <description>&lt;p&gt;Cypress is a front end test automation tool used for regression testing web applications. It is based in JavaScript and integrates seamlessly with many continuous integration tools, making it a great choice for automating tests.&lt;/p&gt;

&lt;p&gt;I've been studying Cypress for a while now, especially it is integration with Azure DevOps. In this post, I will share how to publish videos from Cypress tests on Azure DevOps.&lt;/p&gt;

&lt;p&gt;Let's go!🚀&lt;/p&gt;

&lt;p&gt;First of all, make sure your tests are in a &lt;strong&gt;Git repository (“Repos”)&lt;/strong&gt; in Azure DevOps.&lt;/p&gt;

&lt;p&gt;Next, in your Cypress test code, you need to configure the settings in the "cypress.config.js" file as follows:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;// cypress.config.js

module.exports = {
  video: true,
  videosFolder: 'cypress/videos'
};

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now, navigate to Pipelines. If you already have a configured pipeline, locate it and click on Edit to make changes.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9v58yn7f0op62crpoqlh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9v58yn7f0op62crpoqlh.png" alt="Image description" width="280" height="322"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After that, in your pipeline editor within Azure DevOps, navigate to Tasks and use the search bar to find the task named &lt;strong&gt;"publish build artifacts".&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F521cnc3s8fntx22yvrvc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F521cnc3s8fntx22yvrvc.png" alt="Image description" width="800" height="395"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now, you'll configure the task:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Set the &lt;strong&gt;Path to publish&lt;/strong&gt; to specify where the artifact files will be stored in Azure.&lt;/li&gt;
&lt;li&gt;Specify the &lt;strong&gt;Artifact name&lt;/strong&gt; to give a name to your artifact.&lt;/li&gt;
&lt;li&gt;Leave the &lt;strong&gt;Artifact publish location&lt;/strong&gt; as default, normally set to "Azure Pipelines".&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;After configuring these settings, click on &lt;strong&gt;Add&lt;/strong&gt; to add the task to your pipeline.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F60ezb659a1j5zxfqykp6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F60ezb659a1j5zxfqykp6.png" alt="Image description" width="401" height="841"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now the configuration has been added to the &lt;strong&gt;azure-pipeline.yml&lt;/strong&gt; file.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fb9il19k7k9755n9qj57h.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fb9il19k7k9755n9qj57h.png" alt="Image description" width="800" height="537"&gt;&lt;/a&gt;&lt;br&gt;
Once you have saved the azure-pipeline.yml file, initiate the test build by clicking on &lt;strong&gt;"Run Pipeline"&lt;/strong&gt; in Azure DevOps. This action will start the CI/CD pipeline and execute the defined tasks, including a new configuration for video recording.&lt;/p&gt;

&lt;p&gt;After running the test, navigate to the "Summary" and look for the information indicating &lt;strong&gt;"1 published artifact"&lt;/strong&gt; and click on it. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9mbo2pwjgwl5oy5ayc48.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9mbo2pwjgwl5oy5ayc48.png" alt="Image description" width="800" height="135"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This artifact contains the test recording. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fu6e0urpu7bs2h8k9grrq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fu6e0urpu7bs2h8k9grrq.png" alt="Image description" width="800" height="226"&gt;&lt;/a&gt;&lt;br&gt;
By following these steps, you will use video recordings for better test analysis and debugging when necessary!&lt;/p&gt;

&lt;p&gt;If you found this article helpful, please leave a comment.❤️&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>azure</category>
      <category>devops</category>
      <category>testing</category>
    </item>
    <item>
      <title>Deploy Angular website to GitHub Pages</title>
      <dc:creator>Cinthia Barbosa da Silva</dc:creator>
      <pubDate>Fri, 29 Mar 2024 18:04:09 +0000</pubDate>
      <link>https://dev.to/cinthiabs/deploy-angular-website-to-github-pages-3lhj</link>
      <guid>https://dev.to/cinthiabs/deploy-angular-website-to-github-pages-3lhj</guid>
      <description>&lt;p&gt;GitHub Pages is an excellent platform for deploying your websites and portfolios. I created my personal website using Angular and deployed it to GitHub Pages. During the process, I noticed that there are specific settings for this framework.&lt;/p&gt;

&lt;p&gt;In this post, I will show you that in just a few steps, your project will be running!&lt;/p&gt;

&lt;p&gt;Let's go!🚀&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Create your GitHub Repository&lt;/strong&gt;&lt;br&gt;
First of all, you need to have an account in GitHub then, click on the “+” icon and select “New repository”&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fg1gj5yvrkomsplgl7ihv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fg1gj5yvrkomsplgl7ihv.png" alt="create your github repository" width="359" height="306"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It is important to create a &lt;strong&gt;public repository&lt;/strong&gt; and choose a name for it.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsvat9up306j3qidlmklz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsvat9up306j3qidlmklz.png" alt="public repository" width="800" height="774"&gt;&lt;/a&gt;&lt;br&gt;
After creating the repository, commit all your changes and push your project files to the repository you created.&lt;/p&gt;

&lt;p&gt;Now, in your project terminal, execute the command below to start the deployment process.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;ng add angular-cli-ghpages
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Navigate to your project directory and open the angular.json file. Add the &lt;strong&gt;"baseHref"&lt;/strong&gt; with the name of your branch and then save the changes.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvmo9d0s5wdudwmbvom0w.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvmo9d0s5wdudwmbvom0w.png" alt="add basehref" width="760" height="550"&gt;&lt;/a&gt;&lt;br&gt;
Now, execute the command "ng deploy" and automatically with the command, the changes will be updated in GitHub and your project will be ready to deploy.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;ng deploy
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In your repository on GitHub, click on “Settings ” navigate to “Pages”&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdewpnfdjzdkbxcz6g0fm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdewpnfdjzdkbxcz6g0fm.png" alt="set in pages" width="800" height="410"&gt;&lt;/a&gt;&lt;br&gt;
Now, you can see that the "gh-pages" branch is available, and it is responsible for building our project so, select it and click on "Save".&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F27lfrsjg2kzpy5m114x2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F27lfrsjg2kzpy5m114x2.png" alt="Image description" width="404" height="243"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In a few minutes, your project will be running!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0ul02uwjxi4i1o2hgp77.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0ul02uwjxi4i1o2hgp77.png" alt="project running" width="800" height="395"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you found this article helpful, please leave a comment.❤️&lt;/p&gt;

</description>
      <category>angular</category>
      <category>javascript</category>
      <category>github</category>
      <category>git</category>
    </item>
    <item>
      <title>How to export collection in Postman</title>
      <dc:creator>Cinthia Barbosa da Silva</dc:creator>
      <pubDate>Tue, 26 Mar 2024 22:51:38 +0000</pubDate>
      <link>https://dev.to/cinthiabs/how-to-export-files-in-postman-2mi7</link>
      <guid>https://dev.to/cinthiabs/how-to-export-files-in-postman-2mi7</guid>
      <description>&lt;p&gt;At some moment in a developer’s or QA’s life, it is necessary to use Postman to test requests, monitor, and design APIs.  In this case, in my first article in this community, I would like to share how to export a Postman collection in JSON format.&lt;/p&gt;

&lt;p&gt;Let's go!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Exporting a collection&lt;/strong&gt;&lt;br&gt;
To export a collection, first, it is necessary to salve your test creating a collection, by clicking "Save".&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgyw4t7lpuss8b7979hs1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgyw4t7lpuss8b7979hs1.png" alt="first salve your test" width="800" height="160"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After it is created, it will be available on the left side, along with the collection name and related files.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc5eqiwjhv8oc2r7aldlb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc5eqiwjhv8oc2r7aldlb.png" alt="the collection will be available" width="378" height="398"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Click on the ellipsis (...) and locate the option 'Export'.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fuoy5s2i6956j0cem2fcj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fuoy5s2i6956j0cem2fcj.png" alt="locate the option 'export'" width="375" height="591"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;When you select the 'Export' option, the Postman will inform you about the exported file extension, which will be in JSON format. Choose the 'Collection v2.1' option and click on 'Export'.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fuxbng5rcmqk9s7fbw28o.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fuxbng5rcmqk9s7fbw28o.png" alt="select the 'export'" width="577" height="510"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In a moment, the file will be downloaded to your computer.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fs30wmtnz59ywmby0bf08.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fs30wmtnz59ywmby0bf08.png" alt="download the json file" width="355" height="105"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;With it in hand, you can share it with members of your team, import collections, or even share it on &lt;strong&gt;GitHub&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Try out Postman today and explore many other features. If you found this article helpful, please leave a comment.❤️&lt;/p&gt;

</description>
      <category>postman</category>
      <category>api</category>
      <category>tutorial</category>
      <category>json</category>
    </item>
  </channel>
</rss>
