fix presentation

This commit is contained in:
JOLIMAITRE Matthieu 2024-05-21 03:36:45 +02:00
parent f4c09d21fe
commit 1cfd674026
4 changed files with 22 additions and 2 deletions

View file

@ -33,4 +33,20 @@ def main():
Results in this output when run :
![test output screenshot](./assets/output.png)
![test suite output screenshot](https://git.barnulf.net/mb/okipy/media/branch/master/assets/output.png)
It is also possible to write inline tests :
```py
def add(a, b):
return a + b
@test()
def it_works(ctx):
pass
```
![test inline output screenshot](https://git.barnulf.net/mb/okipy/media/branch/master/assets/inline.png)

BIN
assets/inline.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

View file

@ -4,3 +4,7 @@ cd "$(dirname "$(realpath "$0")")"
./clean.sh
./build.sh
source venv/bin/activate
python -m twine upload dist/*

View file

@ -1,7 +1,7 @@
[project]
name = "okipy"
version = "1.0.0"
version = "1.0.1"
description = "Minimal, typed, functional and dynamic test library."
keywords = ["test", "functional", "library", "testing", "dynamic", "minimal"]