Mateusz Całkasaalin.dev·Sep 25, 2023Useful attributes for xUnitxUnit lacks useful functionalities, but the strength of a good framework is that one can easily implement needed features. Today I would like to present two examples, that I found useful in everyday work. Repeating tests There are different opinions ...DiscussC#
Taylor Browndumpster.hashnode.dev·Sep 24, 2023Unit-like testing your database with Docker in GoYesterday I responded to a thread on Reddit where a user asked how people test their database interactions. There are a lot of different ways to do this and after explaining what I did there was interest in an example, so this will be the example :) ...Discussgolang
Abu Yousufayousuf.hashnode.dev·Sep 22, 2023Testing Android PagingSourceIn the previous article, I wrote about paging implementation. If you didn't check that you can check it. In this article, I will write about how to test PagingSource. Why testing Testing is very important in development. Test code makes your code bas...Discuss·1 like·46 readsAndroid
Mazvydas Katinascodebymaz.com·Sep 21, 2023Swift Testing for Network RequestsNetwork requests are the bridges between your app and the rest of the digital world. As such, ensuring your code’s resilience and reliability when making these requests is non-negotiable. Let's look into various testing strategies, their advantages, ...DiscussSwift
Michael Nelsonmichael-nelson.co.uk·Sep 20, 2023Exploring Custom Attributes in AutoFixture and xUnitWriting setup code for unit tests can be a cumbersome activity. Especially in legacy codebases where many tests may be missing, or unreliable, or when the unit being tested is larger than it would be given sufficient time and resources to refactor it...Discuss·54 readsunit testing
pooja yethiqaservices.hashnode.dev·Sep 20, 2023Exploring Unit Testing and API Testing: The Building Blocks of Effective Software TestingIntroduction: Understanding Software Testing Software testing is an essential process in the development cycle of any software application. It involves various techniques and methods to ensure that the software meets the predefined requirements and f...Discussunit testing
Geo J Thachankarygeothachankary.hashnode.dev·Sep 14, 2023Unit Testing in .NET Core - Writing Parameterized Unit Tests with xUnitThis is the third post in our Unit Testing in .NET Core series! In the previous post, we looked at the xUnit library and wrote our first unit tests using a simple calculator app as our example. In this post, we will look into parameterized unit testi...DiscussUnit Testing in .NET Core.net core
Kithin Y.kittako.hashnode.dev·Sep 11, 2023Dive into Parameterized Tests: A Smarter ApproachWhen it comes to writing unit tests, we typically create a brand-new test method for each specific use case. Let me illustrate this with an example. Example Imagine a profile database, that can create a new profile for you. final class ProfileDatabas...Discuss·3 likes·238 readsTestingSwift
Sushant Yadavsushant8421.hashnode.dev·Sep 10, 2023CityMall's Unified Code Coverage: Crafting Dynamic Badges for Multi-Language RepositoriesAt CityMall, ensuring the robustness of our codebase isn't just a goal—it's a relentless pursuit. We understand the need for clarity regarding our code's health and quality. But how do we give our contributors and users real-time insight into the sta...Discuss·11 likescode coverage
Chukwudi Goldenchukwudigolden.hashnode.dev·Sep 10, 2023A Complete Guide to Unit Testing in PythonUnit testing is a critical part of the software development process. It helps identify and fix bugs early on, saving time and money in the long run. By failing to carry out unit testing, bugs can accumulate, making them more difficult and costly to f...Discuss·159 readsPython