diff --git a/README.md b/README.md index a9dd0e8..46b7429 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/assets/inline.png b/assets/inline.png new file mode 100644 index 0000000..12381b7 Binary files /dev/null and b/assets/inline.png differ diff --git a/publish.sh b/publish.sh index a1fb137..9a4a9ed 100755 --- a/publish.sh +++ b/publish.sh @@ -4,3 +4,7 @@ cd "$(dirname "$(realpath "$0")")" ./clean.sh ./build.sh + +source venv/bin/activate + +python -m twine upload dist/* diff --git a/pyproject.toml b/pyproject.toml index 2e03ebe..3c33281 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"]