Skip to content

Commit

Permalink
improve doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabien Coelho committed Aug 10, 2024
1 parent 9cab019 commit 6b22852
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,13 @@ def test_app_admin(app):
assert 'not in group "ADMIN"' in res.text
```

This can be run against a (local) server:
This can be run against a local or remote server:

```shell
export TEST_SEED="some-random-data" # shared test seed
flask --app app:app run & # start flask app
pid=$! # keep pid
export FLASK_TESTER_APP="http://localhost:5000" # set app local url
export FLASK_TESTER_APP="http://localhost:5000" # set app url, local or remote
pytest test.py # run external tests
kill $pid # stop app with pid
```
Expand Down
4 changes: 4 additions & 0 deletions docs/versions.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ please report any [issues](https://github.com/zx80/flask-tester/issues).

## TODO

## ? on ?

Slightly improve documentation.

## 4.3 on 2024-08-10

Improve comments.
Expand Down

0 comments on commit 6b22852

Please sign in to comment.