<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xx="tags" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>Tests and Testing - Ken Muse</title><atom:link href="https://www.kenmuse.com/tags/tests-and-testing/rss/" rel="self" type="application/rss+xml"/><link>https://www.kenmuse.com/tags/tests-and-testing/</link><description>Discover Azure, DevOps, and development insights with Ken Muse, a Staff DevOps Architect and forward-deployed engineer (FDE) at GitHub and 4x Microsoft Azure MVP (retired)</description><language>en-us</language><sy:updatePeriod>weekly</sy:updatePeriod><sy:updateFrequency>1</sy:updateFrequency><image><title>Tests and Testing - Ken Muse</title><link>https://www.kenmuse.com/tags/tests-and-testing/</link><width>32</width><url>https://www.kenmuse.com/tags/tests-and-testing/favicon/favicon-32x32.png</url><height>32</height></image><atom:link href="https://www.kenmuse.com/tags/tests-and-testing/rss/index.xml" rel="self" type="application/rss+xml"/><item><title>Testing Kubernetes Operators and Controllers With Minikube</title><link>https://www.kenmuse.com/blog/testing-kubernetes-operators-and-controllers-with-minikube/</link><pubDate>Fri, 27 Sep 2024 00:00:00 -0400</pubDate><guid isPermaLink="false">testing-kubernetes-operators-and-controllers-with-minikube</guid><category>Containers</category><category>DevOps</category><description>Sometimes you need to try out a modified image or custom chart you're creating in Kubernetes. Minikube can make that process easier.</description><enclosure type="image/png" url="https://www.kenmuse.com/blog/testing-kubernetes-operators-and-controllers-with-minikube/images/banner.png"/></item><item><title>How to Handle Step and Job Errors in GitHub Actions</title><link>https://www.kenmuse.com/blog/how-to-handle-step-and-job-errors-in-github-actions/</link><pubDate>Fri, 06 Sep 2024 00:00:00 -0400</pubDate><guid isPermaLink="false">how-to-handle-step-and-job-errors-in-github-actions</guid><category>DevOps</category><category>GitHub</category><description>In most cases, we write a workflow where all of the steps succeed. In this post, we'll explore how to create workflows that can handle a failing step or job.</description><enclosure type="image/png" url="https://www.kenmuse.com/blog/how-to-handle-step-and-job-errors-in-github-actions/images/banner.png"/></item><item><title>Mastering the Jest TestEnvironment Event Types</title><link>https://www.kenmuse.com/blog/mastering-jest-testenvironment-event-types/</link><pubDate>Thu, 29 Aug 2024 00:00:00 -0400</pubDate><guid isPermaLink="false">mastering-jest-testenvironment-event-types</guid><category>DevOps</category><category>Programming</category><description>If you're implementing a TestEnvironment, you'll need interact with the testing lifecycle. This post will explore events that are raised and how to use them.</description><enclosure type="image/png" url="https://www.kenmuse.com/blog/mastering-jest-testenvironment-event-types/images/jest.png"/></item><item><title>A Crash Course on Jest TestEnvironments with TypeScript</title><link>https://www.kenmuse.com/blog/crash-course-jest-test-environments-with-typescript/</link><pubDate>Sat, 24 Aug 2024 00:00:00 -0400</pubDate><guid isPermaLink="false">crash-course-jest-test-environments-with-typescript</guid><category>DevOps</category><category>Programming</category><description>Want to get the most out of Jest and you love TypeScript? Need some code that runs outside of the tests? Learn how (and why) to build custom TestEnvironments.</description><enclosure type="image/png" url="https://www.kenmuse.com/blog/crash-course-jest-test-environments-with-typescript/images/banner.png"/></item><item><title>Restoring Azure Tests for SonarQube</title><link>https://www.kenmuse.com/blog/restoring-azure-tests-sonarqube/</link><pubDate>Wed, 25 Sep 2019 00:00:00 -0400</pubDate><guid isPermaLink="false">restoring-azure-tests-sonarqube</guid><category>Azure DevOps</category><category>DevOps</category><description>&lt;p&gt;Continuing from the
&lt;a class="" href="https://www.kenmuse.com/blog/azure-devops-missing-tests/" target="_self"&gt;previous post&lt;/a&gt;, SonarQube expects a certain set of files to be present in &lt;code&gt;$(Common.TestResultsDirectory)&lt;/code&gt;. When it doesn&amp;rsquo;t find the files in the folder, it can prevent it from reporting the results correctly. Because of changes to the &lt;strong&gt;vstest&lt;/strong&gt; task, that folder is cleaned up once the tests results are uploaded, meaning that the files may not exist when SonarQube looks for them. We have a few options for resolving this issue.&lt;/p&gt;</description><enclosure type="image/jpeg" url="https://www.kenmuse.com/blog/restoring-azure-tests-sonarqube/images/banner.jpg"/></item><item><title>Missing Tests on Azure DevOps</title><link>https://www.kenmuse.com/blog/azure-devops-missing-tests/</link><pubDate>Tue, 24 Sep 2019 00:00:00 -0400</pubDate><guid isPermaLink="false">azure-devops-missing-tests</guid><category>Azure DevOps</category><category>DevOps</category><description>&lt;p&gt;The customer was having a rough day. They had lots of unit tests, but were seeing an unexpected behavior from Azure DevOps and SonarQube. Because some tests were written in XUnit and others with MSTest, they had separated the execution into two tasks in their build. At the end of the build, results were sent to SonarQube for analysis. The problem was that each time the second set of tests ran in Azure DevOps, the results from the first pass disappeared. The assumption was that the files were being overwritten by the second test run. The fix seemed simple &amp;ndash; copy the results before the second set of tests executed.&lt;/p&gt;</description><enclosure type="image/jpeg" url="https://www.kenmuse.com/blog/azure-devops-missing-tests/images/banner.jpg"/></item></channel></rss>