angelo-mut 0.3.1__py3-none-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
Binary file
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: angelo-mut
|
|
3
|
+
Version: 0.3.1
|
|
4
|
+
Classifier: Development Status :: 3 - Alpha
|
|
5
|
+
Classifier: Environment :: Console
|
|
6
|
+
Classifier: Intended Audience :: Developers
|
|
7
|
+
Classifier: Programming Language :: Rust
|
|
8
|
+
Classifier: Programming Language :: Python :: 3
|
|
9
|
+
Classifier: Topic :: Software Development :: Testing
|
|
10
|
+
Classifier: Topic :: Software Development :: Quality Assurance
|
|
11
|
+
Summary: Fast mutation testing for Python: one Rust binary that drives an ordinary pytest suite
|
|
12
|
+
Keywords: mutation-testing,pytest,testing,coverage
|
|
13
|
+
Author: Kieran van der Heijde
|
|
14
|
+
Requires-Python: >=3.9
|
|
15
|
+
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
|
|
16
|
+
Project-URL: Documentation, https://angelo.kcvdh.com/
|
|
17
|
+
Project-URL: Issues, https://github.com/kvandeh/angelo/issues
|
|
18
|
+
Project-URL: Source, https://github.com/kvandeh/angelo
|
|
19
|
+
|
|
20
|
+
# Angelo
|
|
21
|
+
|
|
22
|
+
**Fast mutation testing for Python.** One Rust binary that drives your ordinary pytest suite,
|
|
23
|
+
breaks your code on purpose one small change at a time, and reports which changes your tests
|
|
24
|
+
failed to notice.
|
|
25
|
+
|
|
26
|
+
Coverage tells you a line ran. It does not tell you whether anything checked the result.
|
|
27
|
+
|
|
28
|
+
```python
|
|
29
|
+
def is_adult(age):
|
|
30
|
+
return age >= 18
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
Change `>=` to `>` and the function rejects eighteen year olds. If your tests still pass, the
|
|
34
|
+
boundary was never tested — at 100% coverage. Angelo finds that line and tells you about it.
|
|
35
|
+
|
|
36
|
+
## Install
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
pip install --index-url https://test.pypi.org/simple/ angelo
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
Releases go to **TestPyPI** while the pipeline is being proven. TestPyPI makes no retention
|
|
43
|
+
promises, so pin a version in anything that matters.
|
|
44
|
+
|
|
45
|
+
The wheel carries the compiled binary and no Python at all, so `pip` puts `angelo` on your
|
|
46
|
+
PATH and nothing here is ever imported. The interpreter that installs it is irrelevant.
|
|
47
|
+
Wheels are built for Windows x86-64, Linux x86-64 and Apple Silicon; there is deliberately
|
|
48
|
+
**no sdist**, so an unsupported platform fails immediately rather than compiling Rust for
|
|
49
|
+
five minutes.
|
|
50
|
+
|
|
51
|
+
## Use
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
cd your-project
|
|
55
|
+
angelo init # detect the layout, write angelo.conf
|
|
56
|
+
angelo exec # enumerate mutants, then run them
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
Needs **python and pytest** on your PATH. `pip install coverage` is strongly recommended: it
|
|
60
|
+
unlocks batching and test selection, which provide most of the speed.
|
|
61
|
+
|
|
62
|
+
Runs natively on Windows, Linux and macOS. Unlike mutmut, it does not need `fork()`.
|
|
63
|
+
|
|
64
|
+
## Documentation
|
|
65
|
+
|
|
66
|
+
Full documentation, including CI recipes and the SonarQube integration, at
|
|
67
|
+
**<https://angelo.kcvdh.com/>**.
|
|
68
|
+
|
|
69
|
+
Source and issues: <https://github.com/kvandeh/angelo>
|
|
70
|
+
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
angelo_mut-0.3.1.data/scripts/angelo.exe,sha256=i2oZ5q_kS7R20nFJxDYevthbqXILzkf6Z6VRNX0PqA0,26511360
|
|
2
|
+
angelo_mut-0.3.1.dist-info/METADATA,sha256=clH6dBjK7q-LoobES4fWUyVSagHzOUlmb7BCcmdLTuI,2608
|
|
3
|
+
angelo_mut-0.3.1.dist-info/WHEEL,sha256=8Aej0W0a6Cz6apA3IzJrTnxLRVLAt-w0Oh8SA3Con_c,94
|
|
4
|
+
angelo_mut-0.3.1.dist-info/sboms/angelo.cyclonedx.json,sha256=aDpLGnT7abqn28CxXFUpz8D7pW7slVuZg4xmB6omtO0,474062
|
|
5
|
+
angelo_mut-0.3.1.dist-info/RECORD,,
|