From 87fcab5b29ad61fb4e43123c396e8acdb1d96a70 Mon Sep 17 00:00:00 2001 From: Daniel Date: Wed, 6 Dec 2023 13:23:44 +0100 Subject: [PATCH] move testing to Development --- README.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 6e91a5f..d3d3604 100644 --- a/README.md +++ b/README.md @@ -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 @@ -64,4 +61,12 @@ Use playwright codegen to create code for new testes easily https://playwright.d ```bash playwright codegen demo.playwright.dev/todomvc -``` \ No newline at end of file +``` + +## 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 +```