move testing to Development
This commit is contained in:
parent
bdf427224c
commit
87fcab5b29
1 changed files with 10 additions and 5 deletions
15
README.md
15
README.md
|
|
@ -33,9 +33,7 @@ playwright install
|
||||||
Run the script with
|
Run the script with
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
python main.py # run pytest-abra
|
python main.py
|
||||||
pytest # test pytest-abra
|
|
||||||
pytest --collect-only # debug test pytest-abra
|
|
||||||
```
|
```
|
||||||
|
|
||||||
# 2.2 Run with Docker
|
# 2.2 Run with Docker
|
||||||
|
|
@ -43,7 +41,6 @@ pytest --collect-only # debug test pytest-abra
|
||||||
```bash
|
```bash
|
||||||
docker compose build # build the image
|
docker compose build # build the image
|
||||||
docker compose run --rm app ./run_pytest-abra.sh # run pytest-abra
|
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
|
Force rebuild with cache
|
||||||
|
|
@ -64,4 +61,12 @@ Use playwright codegen to create code for new testes easily https://playwright.d
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
playwright codegen demo.playwright.dev/todomvc
|
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
|
||||||
|
```
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue