move testing to Development

This commit is contained in:
Daniel 2023-12-06 13:23:44 +01:00
parent bdf427224c
commit 87fcab5b29

View file

@ -33,9 +33,7 @@ playwright install
Run the script with
```bash
python main.py # run pytest-abra
pytest # test pytest-abra
pytest --collect-only # debug test pytest-abra
python main.py
```
# 2.2 Run with Docker
@ -43,7 +41,6 @@ pytest --collect-only # debug test pytest-abra
```bash
docker compose build # build the image
docker compose run --rm app ./run_pytest-abra.sh # run pytest-abra
docker compose run --rm app ./test_pytest-abra.sh # test pytest-abra
```
Force rebuild with cache
@ -65,3 +62,11 @@ Use playwright codegen to create code for new testes easily https://playwright.d
```bash
playwright codegen demo.playwright.dev/todomvc
```
## Development
```bash
pytest # test pytest-abra
pytest --collect-only # debug test pytest-abra
docker compose run --rm app ./test_pytest-abra.sh # test pytest-abra
```