# bashunit

*Testing your bash scripts*

https://chemaclass.com/talks/bashunit/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

`bashunit` `developer-tools` `testing` `open-source`

> bashunit, a testing framework for bash scripts inspired by PHPUnit and Jest. Test the scripts in your pipelines like you test anything else.

---

Inspired by PHPUnit, Jest, and others, bashunit is a testing framework for bash scripts. Every developer, at some point, has needed to make a bash script, even the scripts in our pipelines. Now you can write automated tests for them. However, this talk is not simply about bash but about building up a project with standards, strong documentation, and an open roadmap, always keeping quality in mind. We can go from a simple function to an entire OSS project in weeks, thanks to the power of disinterested collaboration.



---

- 2025-11-26 | Symfony User Group [**Berlin, Germany**] (EN)
  - [bashunit: PHPUnit Meets Bash](https://www.meetup.com/sfugberlin/events/312045935/)
- 2024-10-29 | Berlin Hack & Tell [**Berlin, Germany**] (EN)
  - [bashunit in 5 min](https://bhnt.c-base.org/2024-10-29-no100-annivercary) ([Video](https://youtu.be/SX7iNHaSsF0))
- 2024-05-27 | International PHP Conference [**Berlin, Germany**] (EN)
  - [Bashunit: Testing your bash scripts, inspired by PHPUnit](https://phpconference.com/devops-continuous-delivery/bashunit-testing-bash-scripts/) ([imgs](https://www.linkedin.com/feed/update/urn:li:activity:7201174305655693312/))
- 2023-12-15 | Live interview with Manfred Awards [**Remote**] (ES)
  - [Winner in the category of Side Project, 2023: bashunit](https://www.youtube.com/watch?v=X0FhUzX-aI4&t=995s)
- 2023-11-14 | Live interview with CodelyTV [**Remote**] (ES)
  - [Live coding with the team behind bashunit](https://www.youtube.com/watch?v=6Bn8gbUurdk)
