Aresfibbonachos.hashnode.dev·Oct 8, 2023Getting Started with Golang Testing: A Comprehensive GuideIn the world of software development, writing code is just one part of the journey. Ensuring that your code behaves as expected is another crucial part, and that’s where testing comes in. Testing allows you to catch bugs early, ensures the reliabilit...Vineet Bhasin and 1 other are discussing this2 people are discussing thisDiscuss·31 likes·68 readsGo Language
Billy MumbyProbilly-mumby-dev.com·Aug 22, 2023NSubstitute from MoqA concise and straightforward guide to transitioning from Moq to NSubstitute. Foreword There has been a recent issue with version 4.2.0 of the popular mocking library Moq. This is covered in many places by the community already, there is a great vide...Discuss·1 like·76 readsunit testing
Emmanuel Nuiroemmanuel-n.hashnode.dev·Jun 5, 2023[Improving Javascript package] Rewriting Prisma ORM - part 2As we've seen in the previous article, there's a small inconvenient with Prisma ORM that we'll solve by rewriting it entirely (cause who doesn't want another npm package) We'll go step by step, explaining how things work thus this series of post migh...Discuss·53 readsImproving Javascript PackagesTypeScript
Jaime Andrés Quiceno Gonzálezjaimedev.hashnode.dev·Apr 23, 2023C# standardizing tests - Part 5Creating tests We have created in part 4 of this series of posts, the implementation of the tests that cover both the happy path and the wrong path of the constructor method of our MetadataService class. Now we are going to know the implementation of...Discuss·33 readsXUnit Standardizingunit testing
Jaime Andrés Quiceno Gonzálezjaimedev.hashnode.dev·Apr 23, 2023C# standardizing tests - Part 4Creating tests Happy path test in the constructor method Now with our fixture service created with the builder design pattern included inside and also the GetSut method that returns the instance of the service to test, we can begin to perform our tes...Discuss·32 readsXUnit Standardizingunit testing
Jaime Andrés Quiceno Gonzálezjaimedev.hashnode.dev·Apr 23, 2023C# standardizing tests - Part 3Let's start with fixture service implementation Implementing IDisposible Our fixture service will be called multiple times during the execution of the tests by the ClassFixture. It is the most important service in our implementation as it will commun...Discuss·32 readsXUnit Standardizingunit testing
Jaime Andrés Quiceno Gonzálezjaimedev.hashnode.dev·Apr 23, 2023C# standardizing tests - Part 2Best Practices Regions Within test classes and generally, in all classes, I have always liked to divide sections or responsibilities into regions. So you will probably see some of the following most of the time: Attributes: for writing read-only pro...DiscussXUnit Standardizingunit testing
Jaime Andrés Quiceno Gonzálezjaimedev.hashnode.dev·Apr 23, 2023C# standardizing tests - Part 1Intro Hello everyone. This is the first part of a series of posts that will explain a methodology that allows implementation tests in an organized way, with separate responsibilities and using most of the available resources that XUnit tests have. I ...Discuss·1 like·28 readsXUnit Standardizingunit testing
Neit Nguyennguyenvantien2009.hashnode.dev·Apr 20, 2023Unit Test in JavaIn Java development, unit testing is an essential process for ensuring the correctness, reliability, and robustness of code. Unit tests help developers catch errors early, prevent regression, and maintain code quality. Common frameworks used for unit...Discuss·36 readsJava
Ishita Ghoshishitaghosh.hashnode.dev·Apr 5, 2023JUnit Explained: An Introduction to the Industry-Standard Testing FrameworkIf you're a Java developer👨💻, it's crucial to verify that your code functions as intended and is error-free to avoid any issues for end-users🕵️♂️. What is JUnit?🤔 JUnit, a widely-used testing framework,💻 allows you to test individual code unit...Discuss·11 likes·51 readsunit testing