# Swamp Test Runner ๐งช
> Your trusty companion for testing Swamp code! ๐ Ensure your swamp magic works as expected.
Swamp Test Runner is the official test runner and framework for the
[Swamp Programming Language](https://swamp-lang.org/), designed to make testing your Swamp projects
simple, expressive,
and reliable. Write tests with the same clarity and power that Swamp offers for your main code.
## ๐ค Why Swamp Test Runner?
The test runner aims to provide:
* **Seamless Integration:** Designed especially for Swamp, leveraging its type system and
features.
* **Clear Syntax:** Write tests that are easy to read and understand.
* **Expressive Assertions:** Powerful and intuitive ways to check your code's behavior.
* **Helpful Output:** Quickly pinpoint failures with informative messages (and yes, cool Unicode for
pass/fail โ
โ!).
## โจ Features
* **Simple Test Definition:** Use the `#[test]` annotation to mark your test functions. The test
function can not take any parameters.
* **Assertion:** Use `assert()` in the tests, or `panic()`.
* **Automatic Test Discovery:** Finds your tests without complex configuration.
* **Detailed Failure Reports:** Understand what went wrong and where, leveraging Swamp's friendly
error style.
* **Clean & Readable Output:** Know at a glance how your test suite is doing.
## About Contributions
This is an open source project with a single copyright holder.
While the code is publicly available under LICENSE, I am not accepting external contributions at
this time.
You are welcome to:
- Use the code according to the license terms
- Fork the project for your own use, following the license terms
- Report issues
- Provide feedback
- Share the project
If you have suggestions or find bugs, please feel free to open an issue for discussion. While I
cannot accept pull requests, I value your feedback and engagement with the project.
Thank you for your understanding and interest in SwampTest! ๐
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
Copyright (c) 2024-2025 Peter Bjorklund. All rights reserved.