Juan Sebastián MendozaforJuan Mendoza's Blogjuansebastian.hashnode.net·Oct 13, 2021FeaturedGetting Started with Jest + Unit TestingA common case among beginners is spending so much time trying to understand why the code is not working the way it is expected to work, and for that reason they get stuck in the development of their projects. This usually happens because there's neve...Sandeep Panda Test and 6 others are discussing this7 people are discussing thisDiscuss·135 likes·1.1K readsTestingVery well written! I just tagged it with JavaScript so that it gets more visibility in our community. Well done! :) 6
Aditya KrishnanforAditya Krishnan's Bloggetschwfty.hashnode.net·Feb 19, 2023Revising Unit Testing For Frontend EngineersI am republishing this blog on Unit Testing by keeping it quick and to the point. This is for those who already have some idea about unit testing but need some brushing up. Beginners could also use this blog as a starting point for multiple important...Discuss·70 likes·382 readsQuick GuidesJavaScript
Rafael dos Santos Miguel FilhoforThe Pragmatic Engineerthepragmaticengineer.hashnode.net·Jan 30, 2023Keeping tests valuable: Unit Tests in Software DomainThe phrase that appears in the subtitle of this post was said by Michael Bolton: The problem is not that the test is the bottleneck. The problem is that you don't know what is in the bottle. That is a problem that tests address! It is funny that th...Discuss·62 likes·223 readsThe Pragmatic EngineerQA
Fandy Aditya Wiranafandyadityaw.hashnode.net·Apr 25, 2023Unit Testing using Mocha, Sinon, and Chai in NodeJSWe use Mocha as the test framework, Chai for assertions, and Sinon.js for creating Doubles. Here's the code for installation: $ npm install sinon mocha chai --save-dev --save-dev is used because these modules are only needed during development. We d...Discussunit testing
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
Elena Marinakielenamarinaki.hashnode.net·Apr 21, 2023FeaturedDevelop and Test a UI component using React with VitestWhat we are going to build In this post, we are going to build an accordion with React and then test it with Vitest. This is how it looks like ⬇️ Repos You can access the code for this example here: CodeSandbox: https://codesandbox.io/p/sandbox/acc...Simone Aiello and 1 other are discussing this2 people are discussing thisDiscuss·36 likes·247 readsReact
Neit NguyenforTien Nguyennguyenvantien2009-1677547510869.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
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
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