Ishita Ghoshishitaghosh.hashnode.net·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·35 readsunit testing
Wesley Matoswmatos.hashnode.net·Oct 22, 2021O básico sobre testes unitários e dublês de testeO que são testes unitários? Teste unitário, como o nome sugere, é o teste de uma unidade do sistema, ou seja, de um pedaço do seu código. Não é como um teste de ponta-a-ponta, onde todo o sistema é testado com alguma automatização ou até mesmo de man...Discuss·7 likes·317 readsunit tests
Tejas Sudhir Tapastejas1510.hashnode.net·Mar 19, 2022Unit Testcase in NodejsPushing code to production on Friday is the 2nd worst nightmare of a software engineer, writing unit test cases for your code still remains first 😂 Software engineers and unit test have a relationship similar to tom and jerry, we don't like it but w...Discuss·2 likes·173 readsNode.js
Jaime Andrés Quiceno Gonzálezjaimedev.hashnode.net·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...DiscussXUnit Standardizingunit testing
Jaime Andrés Quiceno Gonzálezjaimedev.hashnode.net·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...DiscussXUnit Standardizingunit testing
Jaime Andrés Quiceno Gonzálezjaimedev.hashnode.net·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...DiscussXUnit Standardizingunit testing
Jaime Andrés Quiceno Gonzálezjaimedev.hashnode.net·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.net·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 likeXUnit Standardizingunit testing
Neit Nguyennguyenvantien2009.hashnode.net·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...DiscussJava
Ishita Ghoshishitaghosh.hashnode.net·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·35 readsunit testing
Nishipal Rananishipalrana.hashnode.net·Apr 1, 2023Easy and Effective: Testing React Hooks with GraphQL Made SimpleWhen it comes to testing React applications, one of the challenges can be testing custom hooks that involve GraphQL queries. However, with the right tools and techniques, testing these hooks can be made easier and more efficient. Testing Library and ...Discuss·1 likeUnit Testing with JestJest
Christiaan Fouchéfouche.hashnode.net·Mar 4, 2023Parents, teenagers, and unit testsThere’s a theory of stability. It applies to entities. We can observe its effect on human behaviour. It explains why parents tend to be more stable individuals than teenagers. And can explain why unit tests make code more stable. The theory says stab...Discuss·1 like·100 readsunit tests
Nishipal Rananishipalrana.hashnode.net·Mar 1, 2023Don't Get Stuck: How to Solve Jest Unit Testing Errors Like a ProJest is a powerful and popular testing framework used by JavaScript developers to ensure their code is working as expected. However, as with any tool, it's not uncommon to run into errors and issues along the way. These errors can be frustrating and ...Discuss·35 readsUnit Testing with JestJest