<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/tags/testing/best-of/2022" -->

---
title: Best Testing posts of 2022 | daily.dev
description: The most upvoted Testing posts of 2022, curated by the daily.dev community.
canonical: https://daily.dev/tags/testing/best-of/2022
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:url: https://daily.dev/tags/testing/best-of/2022
og:type: website
og:site_name: daily.dev
og:title: Best Testing posts of 2022 | daily.dev
og:description: The most upvoted Testing posts of 2022, curated by the daily.dev community.
og:image: https://media.daily.dev/image/upload/s--VAY5ToZt--/f_auto/v1724209435/public/daily.dev%20-%20open%20graph
---

# Best of Testing — 2022

1. 1  
[](/posts/console-log-alternatives-you-didn-t-know-mxck-zrxe "console.log alternatives you didn't know")  
Article  
![Avatar of devdojo](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/e258fd9dff884055b7b59df7fd1d7bd7)DevDojo · 4y  
console.log alternatives you didn't know  
Using the destruction power of javascript objects, you can use destructuring. You can change the log function to any other name you want. This method is used to measure time. It's used to check if a condition is true. If it's not, it will throw an error.  
478  
38
2. 2  
[](/posts/how-to-write-maintainable-javascript-code-in-2023-web-or-node-js-wrow5x1cd "How to write maintainable JavaScript code in 2023 — Web or Node.js")  
Article  
![Avatar of devgenius](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/a79144d7517043e7803ed562e45a99df)Dev Genius · 4y  
How to write maintainable JavaScript code in 2023 — Web or Node.js  
Using TypeScript everywhere is best suited for JS developers with at least medium experience. Don’t be scared of TypeScript. Use prototypes and/or MVPs before implementing complex features. Use ESLint and Prettier together and you can focus on what your code does. If you use prettier, it will join multi-line breaks.  
229  
13
3. 3  
[](/posts/6-best-practices-for-software-delivery-dpzjdy9xa "6 Best Practices for Software Delivery")  
Article  
![Avatar of medium_js](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/medium)Medium · 4y  
6 Best Practices for Software Delivery  
The Testing Pyramid is a great starting point, and the Testing Pyramid to Fail Fast and Reduce Risk. The longer you leave feedback, the most costly it will become, you start having to interrupt people from other work, and after weeks/months pass by, it’s more likely that people and knowledge will leave.  
205  
11
4. 4  
[](/posts/7-react-clean-code-tips-you-should-know-zfgsi-m95 "7 React Clean Code Tips You Should Know")  
Article  
![Avatar of itnext](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/itnext2)ITNEXT · 4y  
7 React Clean Code Tips You Should Know  
React Clean Code tips for developers to write maintainable React code. It's easy to apply test-driven development in React, too as the test setup process is so effortless. You’re still dealing with modules and their relations, like, which module is performing what tasks, and how other modules rely on them.  
170  
10
5. 5  
[](/posts/8-ways-to-drastically-boost-your-developer-productivity-a8ewpjvu7 "8 Ways To Drastically Boost Your Developer Productivity")  
Article  
![Avatar of devgenius](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/a79144d7517043e7803ed562e45a99df)Dev Genius · 5y  
8 Ways To Drastically Boost Your Developer Productivity  
8 ways to boost your developer productivity with these 8 tips. Automate repetitive tasks with scripts. Use a real debugger instead of printing variables. Back up your local database with Bash Scripts. Use the right tool for the job and don't forget the possibility that you might accidentally commit your work to memory.  
166  
4
6. 6  
[](/posts/how-to-automate-api-tests-with-postman-t8hiqn64h "How to automate API tests with Postman")  
Article  
![Avatar of logrocket](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/logrocket)LogRocket · 4y  
How to automate API tests with Postman  
Writing API tests with Postman is a platform that provides a complete set of tools for building, testing, documenting, and mocking APIs. We'll explore how to write automated functional and integration tests for your APIs that will run in a CI/CD pipeline. We’ll create a collection called Delivery-API Tests where we are simple tests, but the goal is to understand the concept of testing in Postman.  
133  
7
7. 7  
[](/posts/unit-testing-with-jest-react-and-typescript-ou7u32p0p "Unit testing with Jest, React, and TypeScript")  
Article  
![Avatar of hashnode](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/4a287b2e7cb5499bae863f8e7137cdb4)Hashnode · 4y  
Unit testing with Jest, React, and TypeScript  
Software testing is critical to lower the chances of our program failing by running tests with the end-user in mind. Testing-library/react is a testing utility tool that's built to test the actual DOM tree rendered by React on the browser. The goal of the library is to help you write tests that resemble how a user would use your application.  
112  
3
8. 8  
[](/posts/front-end-testing-principles-vchsnwjxm "Front-end Testing Principles")  
Article  
![Avatar of itnext](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/itnext2)ITNEXT · 4y  
Front-end Testing Principles  
For the Front-End we need to focus on only two targets for our tests: the end-user who interacts with your component in the browser and the developer who renders and uses your component. Writing your tests in isolation will guide us to a better way to write your tests to improve their reliability, simplify the code, and increase confidence.  
106  
2
9. 9  
[](/posts/ci-cd-tutorial-for-developers-tmtoqdj5g "CI/CD Tutorial For Developers")  
Article  
![Avatar of community](https://media.daily.dev/image/upload/t_logo,f_auto/v1655817725/logos/community)Community Picks · 4y  
CI/CD Tutorial For Developers  
Continuous integration (CI) and continuous delivery (CD) helps IT organizations streamline their development process by automating manual tasks related to code deployment. Continuous delivery automates the release process and ensures that code is always in a releasable state. CI/CD can also be as simple as moving away from software delivery practices to cloud-native ones.  
105  
1
10. 10  
[](/posts/why-you-should-choose-nestjs-as-your-backend-framework-wmlrcmzkj "Why You Should Choose NestJS as Your Backend Framework")  
Article  
![Avatar of community](https://media.daily.dev/image/upload/t_logo,f_auto/v1655817725/logos/community)Community Picks · 4y  
Why You Should Choose NestJS as Your Backend Framework  
Open-source NestJS is an open-source project with 47,000 stars on GitHub. The framework needs to be fast and able to handle concurrent requests at scale. NestJS’s built-in modules system naturally results in a neat separation of concerns.  
100  
7
11. 11  
[](/posts/facebook-lexical-lexical-is-an-extensible-text-editor-framework-that-provides-excellent-reliability-y-4fjkmne "facebook/lexical: Lexical is an extensible text editor framework that provides excellent reliability, accessibility and performance.")  
Article  
![Avatar of pointer](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/65d4168582f14e0cb2b46693356e66f1)Pointer · 4y  
facebook/lexical: Lexical is an extensible text editor framework that provides excellent reliability, accessibility and performance.  
Lexical is an extensible JavaScript web text-editor framework with an emphasis on reliability, accessibility and performance. Lexical aims to provide a best-in-class developer experience, so you can easily prototype and build features with confidence. Combined with a highly extensible architecture, Lexical allows developers to create unique text editing experiences that scale in size and functionality.  
90  
7
12. 12  
[](/posts/the-perfect-commit-q4rc3c-7i "The Perfect Commit")  
Article  
![Avatar of community](https://media.daily.dev/image/upload/t_logo,f_auto/v1655817725/logos/community)Community Picks · 4y  
The Perfect Commit  
The Perfect Commit is a single, focused change that should be treated thoughtfully and with care. For things like web applications that can be deployed to production, a commit should be a unit that could be deployed.  
88  
4
13. 13  
[](/posts/javascript-api-mocking-techniques-l4nbumrah "JavaScript API Mocking Techniques")  
Article  
![Avatar of syncfusion](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/064efc4834bd43b987bcda02e8ad6709)Syncfusion · 4y  
JavaScript API Mocking Techniques  
API Mocking Mocking is a client-side mocking framework that mocks the API in the browser by using the Pretender library. It has many built-in tools: serializer, route handlers, database, models, fixtures, and factories. It enables emulating dynamic behavior between the front end and back end, rather than mocking the same response over and over again by hitting an endpoint.  
85  
1
14. 14  
[](/posts/learn-nestjs-by-building-a-crud-api-kqcr9uvcp "Learn NestJS by Building a CRUD API")  
Article  
![Avatar of freecodecamp](https://media.daily.dev/image/upload/t_logo,f_auto/v1628412854/logos/freecodecamp)freeCodeCamp · 5y  
Learn NestJS by Building a CRUD API  
NestJS is a framework for building efficient, scalable Node.js web applications. It is a complete development kit for building scalable server-side apps. You will learn how to create a bookmarks API from scratch using NestJS, Docker, Postgres, Passport.js, Prisma and pactum.  
85  
3
15. 15  
[](/posts/ep-38-where-do-we-cache-data--smsktiui2 "EP 38: Where do we cache data?")  
Article  
![Avatar of bytebytego](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/35be29234ee14d01a9cd049c52e12753)ByteByteGo · 4y  
EP 38: Where do we cache data?  
This week’s system design refresher: ByteByteGo Facebook page What is OSI Model? What tech stack is commonly used for microservices? We’ve launched a Facebook page and want our content to be more accessible. The diagram illustrates where we cache data in a typical architecture.  
81  
5
16. 16  
[](/posts/how-we-reduced-our-annual-server-costs-by-80-from-1m-to-200k-by-moving-away-from-aws-ktlo0qeji "How we reduced our annual server costs by 80% — from $1M to $200k — by moving away from AWS")  
Article  
![Avatar of medium_js](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/medium)Medium · 4y  
How we reduced our annual server costs by 80% — from $1M to $200k — by moving away from AWS  
Prerender saved $800k by removing their reliance on AWS and building in-house infrastructure Combined with AWS, we had already cut our expenses by 22%. The testing phase was crucial to make sure the following processes would run smoothly. After testing whether Prerender pages could be cached in both S3 and minio, we slowly diverted traffic away from AWS S 3 and towards minio.  
68
17. 17  
[](/posts/top-10-security-testing-tools-for-developers-b2uyng5ll "Top 10 Security Testing Tools for Developers")  
Article  
![Avatar of codeguru](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/0057818bceb84150824bbfdae3e1bb0d)codeguru · 4y  
Top 10 Security Testing Tools for Developers  
Security testing is the practice of evaluating an information system’s security by detecting and exploiting vulnerabilities. With the number of data breaches on the exponential rise, it is more crucial than ever for developers to ensure the security of their websites and applications. There are a number of open-source security testing tools around to help in this endeavor.  
69
18. 18  
[](/posts/7-absolute-truths-i-unlearned-as-junior-developer-kdcd4ad4n "7 Absolute Truths I Unlearned as Junior Developer")  
Article  
![Avatar of hn](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn)Hacker News · 4y  
7 Absolute Truths I Unlearned as Junior Developer  
Next year, I’ll be entering my 10th year of being formally employed to write code. I wanted to share some of the ways my thinking shifted over the years as a developer. Maybe you can relate, and also have some funny (and humbling) stories to share about your own life lessons.  
64  
6
19. 19  
[](/posts/web-automation-don-t-use-selenium-use-playwright-wj2ae3kdr "Web Automation: Don't Use Selenium, Use Playwright")  
Article  
![Avatar of changelog](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/f65a74bcb028447aa606f06695d607d3)Changelog · 4y  
Web Automation: Don't Use Selenium, Use Playwright  
Selenium has been the de facto "standard" since forever. It's simple to get started with and supports almost every programming language. It doesn't work that well with modern, Javascript framework heavy sites. Playwright gives a fairly good implementation that I found works most of the time.  
63  
7
20. 20  
[](/posts/front-end-testing-strategy-o9tenkq-q "Front-end Testing Strategy")  
Article  
![Avatar of itnext](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/itnext2)ITNEXT · 5y  
Front-end Testing Strategy  
Front-end Testing Strategy defines the different layers of testing and gives an overview of the current situation to propose an effective strategy for testing your software. This article is focused on front-end testing specifically (i.e. React applications and their interactions with components) It is based on testing principles defined by Kent C. Dodds, a famous developer within the React community.  
63  
4
21. 21  
[](/posts/test-driven-development-tutorial-how-to-test-your-javascript-and-reactjs-applications-qlij05pun "Test-Driven Development Tutorial – How to Test Your JavaScript and ReactJS Applications")  
Article  
![Avatar of freecodecamp](https://media.daily.dev/image/upload/t_logo,f_auto/v1628412854/logos/freecodecamp)freeCodeCamp · 4y  
Test-Driven Development Tutorial – How to Test Your JavaScript and ReactJS Applications  
Test-Driven Development (TDD) requires you to pre-specify the output your intended program must produce to pass the test of functioning the way you envisioned. This tutorial will show you all you need to cd path/to/addition-calculator-jest-project Step 4: Create a package, Initialize a package.json file for your project. If your package manager is Yarn, run: yarn add jest --save-dev.  
60  
6
22. 22  
[](/posts/building-a-professional-api-with-nodejs-typescript-expressjs-mongodb-jest-deploy-to-heroku-p-um74efdkz "Building a professional API with NodeJS, Typescript, ExpressJS, MongoDB, Jest + Deploy to Heroku — PART 4")  
Article  
![Avatar of towardsdev](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/2c710db2750a4a70835862534cb7c9d4)Towards Dev · 5y  
Building a professional API with NodeJS, Typescript, ExpressJS, MongoDB, Jest + Deploy to Heroku — PART 4  
In this article, you’ll learn the CRUD paradigm, implements it in NodeJS and work with Express Routes and Requests. Building a professional API with NodeJS, Typescript, ExpressJS, MongoDB, Jest + Deploy to Heroku.  
59  
2
23. 23  
[](/posts/make-your-jest-tests-upto-10x-faster-vdukxw1qr "🏎 Make your Jest Tests upto 10x Faster")  
Article  
![Avatar of devgenius](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/a79144d7517043e7803ed562e45a99df)Dev Genius · 4y  
🏎 Make your Jest Tests upto 10x Faster  
Make your Jest Tests upto 10x faster with these tips. Make sure most of your tests are around 100ms or below. The slowest ones could max 300ms. Switch to yarn + Node V16 + Jest 28.2 + NodeJS. Use MaxWorkers=50% to get the optimal performance.  
58  
1
24. 24  
[](/posts/micro-services-fundamentals-asq-pjp0l "Micro services Fundamentals")  
Article  
![Avatar of community](https://media.daily.dev/image/upload/t_logo,f_auto/v1655817725/logos/community)Community Picks · 4y  
Micro services Fundamentals  
Microservices is a type of architecture where the application is broken down into smaller services based on the domain. In a monolithic application, this area of functionality concerns only one application so it is easier to handle it. In contrast to the microservices architecture, monolithic applications are much easier to debug and test.  
55
25. 25  
[](/posts/api-testing-without-postman--jehs4jgau "API Testing Without Postman?")  
Article  
![Avatar of hackernoon](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hackernoon)Hacker Noon · 4y  
API Testing Without Postman?  
Hoppscotch is a lightweight, web-based API development suite. It was built from the ground up with ease of use and accessibility in mind. It is free to use and as an added perk completely Open Source. But if you will try to use it some restrictions could be found.  
52  
5

[See all Testing archives](/tags/testing/best-of)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@graph":[{"@type":"CollectionPage","@id":"https://daily.dev/tags/testing/best-of/2022#page","url":"https://daily.dev/tags/testing/best-of/2022","name":"Best Testing Posts of 2022","description":"The most upvoted Testing posts of 2022, curated by the daily.dev community.","isPartOf":{"@type":"WebSite","url":"https://daily.dev"}},{"@type":"ItemList","@id":"https://daily.dev/tags/testing/best-of/2022#items","numberOfItems":25,"itemListElement":[{"@type":"ListItem","position":1,"url":"https://daily.dev/posts/console-log-alternatives-you-didn-t-know-mxck-zrxe","name":"console.log alternatives you didn't know"},{"@type":"ListItem","position":2,"url":"https://daily.dev/posts/how-to-write-maintainable-javascript-code-in-2023-web-or-node-js-wrow5x1cd","name":"How to write maintainable JavaScript code in 2023 — Web or Node.js"},{"@type":"ListItem","position":3,"url":"https://daily.dev/posts/6-best-practices-for-software-delivery-dpzjdy9xa","name":"6 Best Practices for Software Delivery"},{"@type":"ListItem","position":4,"url":"https://daily.dev/posts/7-react-clean-code-tips-you-should-know-zfgsi-m95","name":"7 React Clean Code Tips You Should Know"},{"@type":"ListItem","position":5,"url":"https://daily.dev/posts/8-ways-to-drastically-boost-your-developer-productivity-a8ewpjvu7","name":"8 Ways To Drastically Boost Your Developer Productivity"},{"@type":"ListItem","position":6,"url":"https://daily.dev/posts/how-to-automate-api-tests-with-postman-t8hiqn64h","name":"How to automate API tests with Postman"},{"@type":"ListItem","position":7,"url":"https://daily.dev/posts/unit-testing-with-jest-react-and-typescript-ou7u32p0p","name":"Unit testing with Jest, React, and TypeScript"},{"@type":"ListItem","position":8,"url":"https://daily.dev/posts/front-end-testing-principles-vchsnwjxm","name":"Front-end Testing Principles"},{"@type":"ListItem","position":9,"url":"https://daily.dev/posts/ci-cd-tutorial-for-developers-tmtoqdj5g","name":"CI/CD Tutorial For Developers"},{"@type":"ListItem","position":10,"url":"https://daily.dev/posts/why-you-should-choose-nestjs-as-your-backend-framework-wmlrcmzkj","name":"Why You Should Choose NestJS as Your Backend Framework"},{"@type":"ListItem","position":11,"url":"https://daily.dev/posts/facebook-lexical-lexical-is-an-extensible-text-editor-framework-that-provides-excellent-reliability-y-4fjkmne","name":"facebook/lexical: Lexical is an extensible text editor framework that provides excellent reliability, accessibility and performance."},{"@type":"ListItem","position":12,"url":"https://daily.dev/posts/the-perfect-commit-q4rc3c-7i","name":"The Perfect Commit"},{"@type":"ListItem","position":13,"url":"https://daily.dev/posts/javascript-api-mocking-techniques-l4nbumrah","name":"JavaScript API Mocking Techniques"},{"@type":"ListItem","position":14,"url":"https://daily.dev/posts/learn-nestjs-by-building-a-crud-api-kqcr9uvcp","name":"Learn NestJS by Building a CRUD API"},{"@type":"ListItem","position":15,"url":"https://daily.dev/posts/ep-38-where-do-we-cache-data--smsktiui2","name":"EP 38: Where do we cache data?"},{"@type":"ListItem","position":16,"url":"https://daily.dev/posts/how-we-reduced-our-annual-server-costs-by-80-from-1m-to-200k-by-moving-away-from-aws-ktlo0qeji","name":"How we reduced our annual server costs by 80% — from $1M to $200k — by moving away from AWS"},{"@type":"ListItem","position":17,"url":"https://daily.dev/posts/top-10-security-testing-tools-for-developers-b2uyng5ll","name":"Top 10 Security Testing Tools for Developers"},{"@type":"ListItem","position":18,"url":"https://daily.dev/posts/7-absolute-truths-i-unlearned-as-junior-developer-kdcd4ad4n","name":"7 Absolute Truths I Unlearned as Junior Developer"},{"@type":"ListItem","position":19,"url":"https://daily.dev/posts/web-automation-don-t-use-selenium-use-playwright-wj2ae3kdr","name":"Web Automation: Don't Use Selenium, Use Playwright"},{"@type":"ListItem","position":20,"url":"https://daily.dev/posts/front-end-testing-strategy-o9tenkq-q","name":"Front-end Testing Strategy"},{"@type":"ListItem","position":21,"url":"https://daily.dev/posts/test-driven-development-tutorial-how-to-test-your-javascript-and-reactjs-applications-qlij05pun","name":"Test-Driven Development Tutorial – How to Test Your JavaScript and ReactJS Applications"},{"@type":"ListItem","position":22,"url":"https://daily.dev/posts/building-a-professional-api-with-nodejs-typescript-expressjs-mongodb-jest-deploy-to-heroku-p-um74efdkz","name":"Building a professional API with NodeJS, Typescript, ExpressJS, MongoDB, Jest + Deploy to Heroku — PART 4"},{"@type":"ListItem","position":23,"url":"https://daily.dev/posts/make-your-jest-tests-upto-10x-faster-vdukxw1qr","name":"🏎 Make your Jest Tests upto 10x Faster"},{"@type":"ListItem","position":24,"url":"https://daily.dev/posts/micro-services-fundamentals-asq-pjp0l","name":"Micro services Fundamentals"},{"@type":"ListItem","position":25,"url":"https://daily.dev/posts/api-testing-without-postman--jehs4jgau","name":"API Testing Without Postman?"}]},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Tags","item":"https://daily.dev/tags"},{"@type":"ListItem","position":3,"name":"Testing","item":"https://daily.dev/tags/testing"},{"@type":"ListItem","position":4,"name":"Best of","item":"https://daily.dev/tags/testing/best-of"},{"@type":"ListItem","position":5,"name":"2022"}]}]}
```

