Skip to content

Commit

Permalink
Merge pull request #12 from WiredNerd/docs
Browse files Browse the repository at this point in the history
 📓 doc updates
  • Loading branch information
WiredNerd authored Dec 19, 2023
2 parents d4bd22a + 45acaea commit 5bcd6b4
Show file tree
Hide file tree
Showing 11 changed files with 1,767 additions and 283 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[![Homepage](https://img.shields.io/badge/Homepage-github-white)](https://github.com/WiredNerd/poodle)
[![python>=3.9](https://img.shields.io/badge/python->=3.8-orange)](https://pypi.org/project/poodle)
[![python>=3.9](https://img.shields.io/badge/python->=3.9-orange)](https://pypi.org/project/poodle)
[![PyPI - Version](https://img.shields.io/pypi/v/poodle)](https://pypi.org/project/poodle)
[![PyPI - Downloads](https://img.shields.io/pypi/dm/poodle)](https://pypi.org/project/poodle)
[![PyPI - License](https://img.shields.io/pypi/l/poodle)](https://github.com/WiredNerd/poodle/blob/main/LICENSE)
Expand All @@ -12,7 +12,7 @@
[![Imports: isort](https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336)](https://pycqa.github.io/isort/)
[![Code Style: black](https://img.shields.io/badge/Code_Style-Black-black)](https://black.readthedocs.io)
[![Linter: ruff](https://img.shields.io/badge/Linter-ruff-purple)](https://beta.ruff.rs/docs/)
<!-- [![Snyk Security](https://img.shields.io/badge/Snyk%20Security-monitored-FF66FF)](https://snyk.io/) -->
[![Snyk Security](https://img.shields.io/badge/Snyk%20Security-monitored-FF66FF)](https://snyk.io/)

# Poodle

Expand Down Expand Up @@ -43,7 +43,7 @@ Usage: poodle [OPTIONS] [SOURCES]...
Options:
-c PATH Configuration File.
-q Quiet mode: q, qq, or qq
-q Quiet mode: q, qq, or qqq
-v Verbose mode: v, vv, or vvv
-w INTEGER Maximum number of parallel workers.
--exclude TEXT Add a regex exclude file filter. Multiple allowed.
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
".md": "markdown",
}

suppress_warnings = ["myst.xref_missing"]
# suppress_warnings = ["myst.xref_missing"]

# https://myst-parser.readthedocs.io/en/latest/syntax/optional.html
myst_enable_extensions = [
Expand Down
57 changes: 57 additions & 0 deletions docs/source/credits.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# Credits

```text
_=,_
o_/6 /#\
"You're not a Dog!" \__ |##/
--.__.-- ='|--\
___\(0_0)/ / #'-.
~~/ (OO) "My name is Dog." \#|_ _'-. /
\ __ / |/ \_( # |"
`='`='= C/ ,--___/
```

## ASCII Art

* [Text to ASCII Art Generator (TAAG) - patorjk.com](https://patorjk.com/software/taag/)
* [ASCII Art Archive](https://www.asciiart.eu/)

## Inspiration

When I was looking for a Python Mutation Testing tool, the top candidates I found were [Mutmut](https://mutmut.readthedocs.io) and [Mutatest](https://mutatest.readthedocs.io/). Both are good tools with pros and cons of each. I decided to create my own tool because I wanted a more configurable tool, that is able to run multiple trials in parallel. I considered submitting updates to one or the other, but found that what I wanted would be nearly a rewrite. By starting over new, I was able to utilize new tools, some that weren't part of python's base till version 3.9.

## Tools

:::{list-table}
:header-rows: 1
:align: left

* - Tool
- Description
* - [click](https://click.palletsprojects.com/)
- Click is a Python package for creating beautiful command line interfaces in a composable way with as little code as necessary.
* - [wcmatch](https://facelessuser.github.io/wcmatch/)
- Wildcard Match provides an enhanced fnmatch, glob, and pathlib library in order to provide file matching and globbing that more closely follows the features found in Bash
* - [pytest](https://docs.pytest.org/)
- The pytest framework makes it easy to write small, readable tests, and can scale to support complex functional testing for applications and libraries
* - [pytest-cov](https://pytest-cov.readthedocs.io/)
- This plugin produces coverage reports.
* - [pytest-sort](https://pytest-sort.readthedocs.io/)
- This Pytest plugin is used to help identify Application State Leaks in your test suite.
* - [isort](https://pycqa.github.io/isort/)
- isort your imports, so you don't have to.
* - [black](https://black.readthedocs.io/)
- The uncompromising code formatter.
* - [ruff](https://docs.astral.sh/ruff/)
- An extremely fast Python linter and code formatter, written in Rust.
* - [mypy](https://mypy.readthedocs.io/)
- Mypy is a static type checker for Python.
* - [sphinx](https://www.sphinx-doc.org/)
- Sphinx makes it easy to create intelligent and beautiful documentation.
* - [furo](https://pradyunsg.me/furo/)
- A clean customizable Sphinx documentation theme.
* - [myst_parser](https://myst-parser.readthedocs.io/)
- A Sphinx and Docutils extension to parse MyST Markdown.
* - [sphinx_design](https://sphinx-design.readthedocs.io/)
- A sphinx extension for designing beautiful, screen-size responsive web-components.
:::
14 changes: 10 additions & 4 deletions docs/source/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Poodle Mutation Tester "--'"--'

"A breed so perfect, so elegant, and so intelligent, that people decided to breed them with, well, everything." - [Girl With The Dogs](https://www.youtube.com/@GirlWithTheDogs)

[![PyPI - Version](https://img.shields.io/pypi/v/pytest-sort)](https://pypi.org/project/poodle)
[![PyPI - Version](https://img.shields.io/pypi/v/poodle)](https://pypi.org/project/poodle)
[![Homepage](https://img.shields.io/badge/Homepage-github-white)](https://github.com/WiredNerd/poodle)

Poodle is an tool for Mutation Testing your Python projects.
Expand Down Expand Up @@ -40,7 +40,7 @@ Usage: poodle [OPTIONS] [SOURCES]...
Options:
-c PATH Configuration File.
-q Quiet mode: q, qq, or qq
-q Quiet mode: q, qq, or qqq
-v Verbose mode: v, vv, or vvv
-w INTEGER Maximum number of parallel workers.
--exclude TEXT Add a regex exclude file filter. Multiple allowed.
Expand All @@ -50,9 +50,15 @@ Options:

## Table of Contents
```{toctree}
:maxdepth: 2
usage.md
:maxdepth: 1
mutation.md
usage.md
options.md
mutators.md
runners.md
reporters.md
credits.md
```

## Contribute
Expand Down
16 changes: 14 additions & 2 deletions docs/source/mutation.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Mutation Testing

what is mutation testing
```text
.-.
(___________________________________________________________()6 `-,
( ______________________________________________________ /''"`
//\\ //\\
"" "" "" ""
```

example of why
Coming Soon :safety_vest:

## What is Mutation Testing?

## Why Mutation Test?

## Why Poodle?
Loading

0 comments on commit 5bcd6b4

Please sign in to comment.