https://github.com/bitbar/ruthie
Run Unit Tests Harmoniously Incredibly Easy
https://github.com/bitbar/ruthie
bitbar internal-tool
Last synced: about 1 year ago
JSON representation
Run Unit Tests Harmoniously Incredibly Easy
- Host: GitHub
- URL: https://github.com/bitbar/ruthie
- Owner: bitbar
- License: isc
- Created: 2021-03-05T12:27:07.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-05-12T06:27:41.000Z (about 3 years ago)
- Last Synced: 2025-04-09T12:21:54.956Z (about 1 year ago)
- Topics: bitbar, internal-tool
- Language: Python
- Homepage:
- Size: 61.5 KB
- Stars: 2
- Watchers: 17
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ruthie
[](releases)
[](LICENSE.md)

Ruthie is the Unittests runner, and it's an acronym from "Run Unit Tests Harmoniously Incredibly Easy".
## Installation
```sh
pip install -U ruthie
```
Check if it works:
```sh
ruthie --version
> 0.1.2
```
## Usage
Type `ruthie --help` to display available commands and options
### Examples
#### List all test classes in directory "unittests"
```sh
ruthie discover classes unittests
```
Output:
```sh
unittests.admin_panel.users.Add
unittests.admin_panel.users.Edit
unittests.admin_panel.users.Delete
unittests.admin_panel.devices.Add
unittests.admin_panel.devices.Edit
unittests.admin_panel.devices.Delete
unittests.end_user.projects.Add
unittests.end_user.projects.Edit
unittests.end_user.projects.Delete
```
#### List all test classes in directory "unittests" and group them
```sh
ruthie discover classes unittests --group
```
Output:
```sh
unittests.admin_panel.users
Add
Edit
Delete
unittests.admin_panel.devices
Add
Edit
Delete
unittests.end_user.projects
Add
Edit
Delete
```
#### Discover all classes in directory "unittests" and run them in parallel using 10 threads
```sh
ruthie parallel --threads=10 unittests
```
## License
This project is licensed under the ISC License - see the [LICENSE](LICENSE) file for details.