---
title: Avenue Code Snippets | Testing
description: Testing | Follow the main news in the area of ​​technology. Software development, design and UX, ML, DevOps and much more!
---

[AvenueCode.com](https://avenuecode.com) [News](https://avenuecode.com/news) [Contact](https://avenuecode.com/contact)

[![Avenue Code Snippets Logo](https://blog.avenuecode.com/hubfs/Avenue%20Code%20New%20Logos%20-%202023/AC-Snippets---Black.png)](https://blog.avenuecode.com/) *menu*

- Technology
  
  [Cloud and DevOps](https://blog.avenuecode.com/blog/topic/cloud-and-devops?hsLang=en-us) [Delivery Infrastructure](https://blog.avenuecode.com/blog/topic/delivery-infrastructure?hsLang=en-us) [Web Experience](https://blog.avenuecode.com/blog/topic/web-experience?hsLang=en-us) [Agile Mindset](https://blog.avenuecode.com/blog/topic/agile-mindset?hsLang=en-us) [Quality Assurance](https://blog.avenuecode.com/blog/topic/quality-assurance?hsLang=en-us) [Integration](https://blog.avenuecode.com/blog/topic/integration?hsLang=en-us)
  
  [Design and UX](https://blog.avenuecode.com/blog/topic/design-and-ux?hsLang=en-us) [Solutions Architecture](https://blog.avenuecode.com/blog/topic/solution-architecture?hsLang=en-us) [Data and Machine Learning](https://blog.avenuecode.com/blog/topic/data-and-machine-learning?hsLang=en-us) [Mobile Experience](https://blog.avenuecode.com/blog/topic/mobile-experience?hsLang=en-us) [Microservices](https://blog.avenuecode.com/blog/topic/microservices?hsLang=en-us)
- [Whitepapers](https://blog.avenuecode.com/blog/topic/whitepapers?hsLang=en-us)
- [Spotlight](https://blog.avenuecode.com/blog/topic/spotlight?hsLang=en-us)
- [Extraordinary Women in Tech](https://blog.avenuecode.com/blog/topic/extraordinary-women-in-tech?hsLang=en-us)
- [Avenue Code Culture](https://blog.avenuecode.com/blog/topic/avenue-code-culture?hsLang=en-us)

- [Cloud and DevOps](https://blog.avenuecode.com/blog/topic/cloud-and-devops?hsLang=en-us)
- [Design and UX](https://blog.avenuecode.com/blog/topic/design-and-ux?hsLang=en-us)
- [Delivery Infrastructure](https://blog.avenuecode.com/blog/topic/delivery-infrastructure?hsLang=en-us)
- [Solutions Architecture](https://blog.avenuecode.com/blog/topic/solution-architecture?hsLang=en-us)
- [Web Experience](https://blog.avenuecode.com/blog/topic/web-experience?hsLang=en-us)
- [Data and Machine Learning](https://blog.avenuecode.com/blog/topic/data-and-machine-learning?hsLang=en-us)
- [Agile Mindset](https://blog.avenuecode.com/blog/topic/agile-mindset?hsLang=en-us)
- [Mobile Experience](https://blog.avenuecode.com/blog/topic/mobile-experience?hsLang=en-us)
- [Microservices](https://blog.avenuecode.com/blog/topic/microservices?hsLang=en-us)
- [Quality Assurance](https://blog.avenuecode.com/blog/topic/quality-assurance?hsLang=en-us)
- [Integration](https://blog.avenuecode.com/blog/topic/integration?hsLang=en-us)
- [Whitepapers](https://blog.avenuecode.com/blog/topic/whitepapers?hsLang=en-us)
- [Spotlight](https://blog.avenuecode.com/blog/topic/spotlight?hsLang=en-us)
- [Extraordinary Women in Tech](https://blog.avenuecode.com/blog/topic/extraordinary-women-in-tech?hsLang=en-us)
- [Avenue Code Culture](https://blog.avenuecode.com/blog/topic/avenue-code-culture?hsLang=en-us)

<https://blog.avenuecode.com/how-to-build-unit-tests-using-jest?hsLang=en-us>

<https://blog.avenuecode.com/how-to-build-unit-tests-using-jest?hsLang=en-us>

## [Featured [How to Build Unit Tests Using Jest](https://blog.avenuecode.com/how-to-build-unit-tests-using-jest?hsLang=en-us) *perm\_identity* [Luiz Henrique Santos](https://blog.avenuecode.com/how-to-build-unit-tests-using-jest/author/luiz-henrique-santos?hsLang=en-us) *schedule* 10/12/22 2:00 PM](https://blog.avenuecode.com/how-to-build-unit-tests-using-jest?hsLang=en-us)

## [How to Build Unit Tests Using Jest](https://blog.avenuecode.com/how-to-build-unit-tests-using-jest?hsLang=en-us)

*perm\_identity* [Luiz Henrique Santos](https://blog.avenuecode.com/how-to-build-unit-tests-using-jest/author/luiz-henrique-santos?hsLang=en-us)

*schedule* 10/12/22 2:00 PM

We all know that code quality is extremely important in the development process, but how can you be sure that your code has it? Manual testing is essential, but for large-scale software deliveries, it may not be enough.

*perm\_identity* [Luiz Henrique Santos](https://blog.avenuecode.com/how-to-build-unit-tests-using-jest/author/luiz-henrique-santos?hsLang=en-us)

*schedule* 10/12/22 2:00 PM 

[READ MORE](https://blog.avenuecode.com/how-to-build-unit-tests-using-jest?hsLang=en-us)

## [How Heuristics Can Improve Your Tests](https://blog.avenuecode.com/how-heuristics-can-improve-your-tests?hsLang=en-us)

*perm\_identity* [Gabriella Gomes](https://blog.avenuecode.com/how-heuristics-can-improve-your-tests/author/gabriella-gomes?hsLang=en-us)

*schedule* 7/6/22 2:00 PM

What are heuristics? How can you combine them with testing techniques? And how can your use them to enrich your API and UI tests in a systematic way when validating your software?

*perm\_identity* [Gabriella Gomes](https://blog.avenuecode.com/how-heuristics-can-improve-your-tests/author/gabriella-gomes?hsLang=en-us)

*schedule* 7/6/22 2:00 PM 

[READ MORE](https://blog.avenuecode.com/how-heuristics-can-improve-your-tests?hsLang=en-us)

## [How to Use WireMock for Integration Testing](https://blog.avenuecode.com/how-to-use-wiremock-for-integration-testing?hsLang=en-us)

*perm\_identity* [Carlos Lazarin](https://blog.avenuecode.com/how-to-use-wiremock-for-integration-testing/author/carlos-lazarin?hsLang=en-us)

*schedule* 6/8/22 2:00 PM

As a software engineer, you might need to consume an API that is not completely ready yet, or maybe you're still waiting for the API key that is taking forever to be provided. So why not test happy paths, edge cases, failures, timeouts, and performance constraints with API stubs through a mocked...

*perm\_identity* [Carlos Lazarin](https://blog.avenuecode.com/how-to-use-wiremock-for-integration-testing/author/carlos-lazarin?hsLang=en-us)

*schedule* 6/8/22 2:00 PM 

[READ MORE](https://blog.avenuecode.com/how-to-use-wiremock-for-integration-testing?hsLang=en-us)

## [The Best Way to Use Request Validation in Laravel REST API](https://blog.avenuecode.com/the-best-way-to-use-request-validation-in-laravel-rest-api?hsLang=en-us)

*perm\_identity* [Luiz Henrique Santos](https://blog.avenuecode.com/the-best-way-to-use-request-validation-in-laravel-rest-api/author/luiz-henrique-santos?hsLang=en-us)

*schedule* 5/11/22 2:00 PM

When you're working with a REST API, it's very important to guarantee that the data you're receiving match some defined rules and will not break the system. How do we do this? Meet Laravel's request validation tool. 

*perm\_identity* [Luiz Henrique Santos](https://blog.avenuecode.com/the-best-way-to-use-request-validation-in-laravel-rest-api/author/luiz-henrique-santos?hsLang=en-us)

*schedule* 5/11/22 2:00 PM 

[READ MORE](https://blog.avenuecode.com/the-best-way-to-use-request-validation-in-laravel-rest-api?hsLang=en-us)

## [How to Write Unit Tests Using PHPUnit and WP\_Mock](https://blog.avenuecode.com/how-to-write-unit-tests-using-phpunit-and-wp_mock?hsLang=en-us)

*perm\_identity* [Luiz Henrique Santos](https://blog.avenuecode.com/how-to-write-unit-tests-using-phpunit-and-wp_mock/author/luiz-henrique-santos?hsLang=en-us)

*schedule* 4/13/22 2:00 PM

Do you write unit tests for your code? If you don't, you should. Unit tests are a fast, inexpensive, and efficient tool that helps guarantee code quality.

*perm\_identity* [Luiz Henrique Santos](https://blog.avenuecode.com/how-to-write-unit-tests-using-phpunit-and-wp_mock/author/luiz-henrique-santos?hsLang=en-us)

*schedule* 4/13/22 2:00 PM 

[READ MORE](https://blog.avenuecode.com/how-to-write-unit-tests-using-phpunit-and-wp_mock?hsLang=en-us)

## [You Need to Know Big O Notation: Here's Why](https://blog.avenuecode.com/you-need-to-know-big-o-notation-heres-why?hsLang=en-us)

*perm\_identity* [Felipe Rezende](https://blog.avenuecode.com/you-need-to-know-big-o-notation-heres-why/author/felipe-rezende?hsLang=en-us)

*schedule* 3/30/22 2:00 PM

When we're programming, most of us think about solving the problem that lies ahead. But instead of asking, "How do I create code that works?" we should be asking, "How do I solve problems in the most efficient and elegant way, consuming as little processing capacity as possible?"

*perm\_identity* [Felipe Rezende](https://blog.avenuecode.com/you-need-to-know-big-o-notation-heres-why/author/felipe-rezende?hsLang=en-us)

*schedule* 3/30/22 2:00 PM 

[READ MORE](https://blog.avenuecode.com/you-need-to-know-big-o-notation-heres-why?hsLang=en-us)

## [Running Docker in a Minikube Cluster](https://blog.avenuecode.com/running-docker-in-a-minikube-cluster?hsLang=en-us)

*perm\_identity* [Matheus Correia](https://blog.avenuecode.com/running-docker-in-a-minikube-cluster/author/matheus-correia?hsLang=en-us)

*schedule* 1/26/22 2:00 PM

Learn how to use Minikube to manage your Docker containers in order to test integration scenarios and avoid problems when deploying to a remote environment.

*perm\_identity* [Matheus Correia](https://blog.avenuecode.com/running-docker-in-a-minikube-cluster/author/matheus-correia?hsLang=en-us)

*schedule* 1/26/22 2:00 PM 

[READ MORE](https://blog.avenuecode.com/running-docker-in-a-minikube-cluster?hsLang=en-us)

[Next](https://blog.avenuecode.com/topic/testing/page/2?hsLang=en-us)

### Avenue Code Social

[![Facebook Icon](https://blog.avenuecode.com/hubfs/Images/Blog/facebook.png?t=1486470796564)](https://www.facebook.com/avenuecode)

[![Twitter Icon](https://blog.avenuecode.com/hubfs/Images/Blog/twitter.png?t=1486470796842)](https://twitter.com/AvenueCode)

[![LinkedIn Icon](https://blog.avenuecode.com/hubfs/Images/Blog/linkedin.png?t=1486470796556)](https://www.linkedin.com/company/avenuecode/)

### Newsletter

Want to stay on top of all tips and news from Avenue Code?

### Popular Snippets

![Avenue Code-primary versions_logo white avenue code endorsement 2](https://blog.avenuecode.com/hs-fs/hubfs/Avenue%20Code%20New%20Logos%20-%202023/Avenue%20Code-primary%20versions_logo%20white%20avenue%20code%20endorsement%202.png?width=1180&name=Avenue%20Code-primary%20versions_logo%20white%20avenue%20code%20endorsement%202.png "Avenue Code-primary versions_logo white avenue code endorsement 2")

### About Us

- [Who We Are](https://www.avenuecode.com/who-we-are)
- [What We Do](https://www.avenuecode.com/what-we-do)
- [Portfolio](https://www.avenuecode.com/portfolio)
- [Partners](https://www.avenuecode.com/partners)
- [News](https://www.avenuecode.com/news)
- [Events](https://www.avenuecode.com/events)
- [Blog](https://blog.avenuecode.com/)
- [Contact](https://www.avenuecode.com/contact)

### Our Offices

San Francisco

[+1 415 766 4178](tel:+553125161448) [ac.inquiries@avenuecode.com](mailto:brazil.info@avenuecode.com)

Belo Horizonte

[+55 31 2516 1448](tel:+553125161448) [brazil.info@avenuecode.com](mailto:brazil.info@avenuecode.com)

São Paulo

[+55 11 3205 3232](tel:+553125161448) [brazil.info@avenuecode.com](mailto:brazil.info@avenuecode.com)

### We're Hiring!

- [Belo Horizonte](https://www.avenuecode.com/who-we-are)
- [New York](https://www.avenuecode.com/what-we-do)
- [San Francisco](https://www.avenuecode.com/portfolio)
- [São Paulo](https://www.avenuecode.com/partners)

---

©2015 - 2017 Avenue Code

[![Facebook Icon](https://blog.avenuecode.com/hubfs/Images/Icons/facebook-2.png)](https://www.facebook.com/avenuecode) [![Twitter Icon](https://blog.avenuecode.com/hubfs/Images/Icons/twitter-2.png)](https://twitter.com/AvenueCode) [![LinkedIn Icon](https://blog.avenuecode.com/hubfs/Images/Icons/linkedin-2.png)](https://www.linkedin.com/company/avenue-code) [![Glassdoor Icon](https://blog.avenuecode.com/hubfs/Images/Icons/glassdoor-icon-1.png)](https://www.glassdoor.com/Overview/Working-at-Avenue-Code-EI_IE456173.11,22.htm) [![YouTube Icon](https://blog.avenuecode.com/hubfs/Images/Icons/youtube-2.png)](https://www.youtube.com/user/AvenueCodePlay)

© 2026 Avenue Code