Added unit test for music module

Reorganized unit tests into unit_tests directory
This commit is contained in:
2025-08-03 11:33:19 -07:00
parent 457f9d71e6
commit 66923c8f43
5 changed files with 649 additions and 398 deletions

View File

@@ -76,3 +76,16 @@ status ⏸ Dire Straits - Tunnel of Love [6% 14:23] 💾 24% 💻 1% 🔌 100%
status ⏸ Dire Straits - Tunnel of Love [6% 14:23] 💾 24% 💻 1% 🔌 100% 📶 192.168.1.93 ☀️ 83°F 📅 2025 Jun 07 🕑 09:25PM -07:00
^C
```
# Unit testing
Use the following command to run unit tests:
```shell
$ cargo test --package unibar --bin unibar
```
To run a specific test, use the following:
```shell
$ cargo test --package unibar --bin unibar -- bar_modules::bar_module_weather::tests::test_get_unicode_symbol_default --exact --show-output
```