Piyushpiyusss.hashnode.dev·Apr 22, 2024React with meReact is a free front-end JavaScript library for building user interfaces based on components. Libraries are little better than frameworks in my opinion for beginners as it more beginner friendly, frameworks are quite strict and throws error for even...Discussreactwithchai
Aaron Rebeloaaronr2023.hashnode.dev·May 20, 2023Hardhat - Understanding the basicsWhat we'll be covering in this article? Setting up Hardhat Compilation Testing Debugging Deployment And much more ... Hardhat is a developer environment, to compile,deploy, test and debug your etherium software in a easy way. Even though we h...Discusshardhat
Fandy Aditya Wiranadev.fandyaditya.com·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...Discuss·78 readsunit testing
ajeet achalachaltechnologies.hashnode.dev·Apr 20, 2023Chai and Coders: A Special RelationshipAs a language model, I have interacted with many programmers and coders over the years. One thing I have noticed is that many of them seem to have a special relationship with chai, also known as tea. Whether it's a comforting drink during long coding...Discuss·12 likes·155 readscoderWell written 10
Karan CSkaranblog.hashnode.dev·Apr 10, 2023Write integration tests like a pro (Node,Express,MongoDB,chai)Sure, here is a blog post on backend integration testing with Node.js, Express, and MongoDB. Introduction Integration testing is an important part of any backend web development process. It is the process of testing how the different components of a ...Discuss·10 likes·41 readsintegration
Miguel Angel Acevedofaulty.dev·Jan 4, 2023pg-mem and uuid_generate_v4() mockpg-mem is an open-source project for javascript (works in Node.js and the browser) where you can mock a Postgres server in memory, is pretty cool to use it on unit and local tests. And it comes with its own limitations, by default, pg-mem has no nati...Discuss·260 readsPostgreSQL
Gaurav SinghforRoaming Devroamingdev.com·Nov 27, 2022API Testing with Mocha, Chai and Supertest in NodeJs.Introduction Testing is essential today for building a robust application that may change frequently or extend later if you are learning Test Driven Development or looking to add API test cases in the backend, which may improve the debugging and test...Discuss·375 readsSupertest
Andy Woodblog.andynwood.com·Oct 2, 2022How to Learn Unit Testing Using CodewarsMany engineering teams value good software testing and there are a range of good testing suites available to full-stack engineers, but it can be difficult for entry-level engineers to get started on this and to work out ways to integrate this into th...Discuss·14 likes·462 readsTesting
Olabisi Oduolaolabisiodu.hashnode.dev·Aug 13, 2021Testing JavaScript applications- MochaJsMocha.js is a popular JavaScript testing framework that is widely used to test JavaScript applications. It is designed to be flexible, easy to use, and easy to set up. Mocha.js supports a variety of test runners, assertion libraries, and reporting op...Discuss·39 readsmocha
Ibrahim Mohammedmohamilr.hashnode.dev·Jan 21, 2020Write tests for file upload using mochaWriting tests is essential when creating APIs. It allows you to detect bugs and be sure that your functions are working as they should. Here is a good explanation of the writing file upload test by Franklin Ikenna Isaiha. In that article, he used a f...Discuss·151 readsTesting