---
title: "Discussion on \"How to Unit Test Complex Data Like Numpy Arrays in Python\" | Hashnode"
description: "Discussion on \"How to Unit Test Complex Data Like Numpy Arrays in Python\". Learn how to test general data, such as images, files, and numeric tables by using pytest-regressions plugin."
url: "https://hashnode.com/posts/how-to-test-complex-data-in-python/5f611f10c08f260dbcebdf97"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Unit Test Complex Data Like Numpy Arrays in Python](https://miguendes.me/how-to-test-complex-data-in-python?utm_source=hashnode&utm_medium=feed)

Learn how to test general data, such as images, files, and numeric tables by using pytest-regressions plugin.

Sep 15, 2020 · 7 min read · miguendes.me  
Updated Jul 23, 2022  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#beginners](https://hashnode.com/tag/beginners)
-   [#pytest](https://hashnode.com/tag/pytest)
-   [#testing](https://hashnode.com/tag/testing)
-   [#best-practices](https://hashnode.com/tag/best-practices)

## Written by

[Miguel Brito](https://hashnode.com/@miguendes)

@miguendes · London, UK

  
[View profile](https://hashnode.com/@miguendes)

Machine Learning Software Engineer - Hobbyst Technical Writer - Interested in Software Testing, Best Practices, Scalability, and Python.

AI Software Engineer based in London, UK with 6+ years of professional experience developing and releasing software in different programming languages - Hobbyist Technical Writer - Interested in Software Testing, Best Practices, Scalability, Machine Learning/AI, and Python.

## Responses 1

Markdown supported · ⌘↵ to post

[Edidiong Asikpo (Didi)](https://hashnode.com/@didicodes)

[Sep 16, 2020](https://hashnode.com/posts/how-to-test-complex-data-in-python/5f611f10c08f260dbcebdf97/comment/5f61c08ec08f260dbcebe509)

This is well detailed and very well explained.

Thanks for writing and publishing this article [Miguel Brito](https://hashnode.com/@miguendes).

[Miguel Brito](https://hashnode.com/@miguendes)

[Sep 16, 2020](https://hashnode.com/posts/how-to-test-complex-data-in-python/5f611f10c08f260dbcebdf97/comment/5f61c08ec08f260dbcebe509#reply-5f625fa44aa93d16dd1e35c2)

Thanks for your kind the words, [Edidiong Asikpo](https://hashnode.com/@didicodes)!
