Uppdatera README
This commit is contained in:
parent
07822f17b2
commit
a6dae71828
14
README.md
14
README.md
@ -92,23 +92,29 @@ http://127.0.0.1:5001
|
|||||||
|
|
||||||
## 🧪 Tester
|
## 🧪 Tester
|
||||||
|
|
||||||
Unit- och integrationstester:
|
### Unit- och integrationstester (Python):
|
||||||
```bash
|
```bash
|
||||||
pytest
|
pytest
|
||||||
```
|
```
|
||||||
|
|
||||||
API-tester (Postman / Newman):
|
### Förutsättningar för API- och E2E-tester
|
||||||
|
API- och end-to-end-tester använder Node-baserade verktyg.
|
||||||
|
Installera npm-beroenden en gång innan dessa tester körs:
|
||||||
```bash
|
```bash
|
||||||
npm install
|
npm install
|
||||||
|
```
|
||||||
|
|
||||||
|
#### API-tester (Postman / Newman):
|
||||||
|
```bash
|
||||||
npm run api-test
|
npm run api-test
|
||||||
```
|
```
|
||||||
|
|
||||||
End-to-End tester (Playwright):
|
#### End-to-End tester (Playwright):
|
||||||
```bash
|
```bash
|
||||||
npm run e2e
|
npm run e2e
|
||||||
```
|
```
|
||||||
|
|
||||||
Köra alla tester:
|
#### Köra alla tester:
|
||||||
```bash
|
```bash
|
||||||
npm run test:all
|
npm run test:all
|
||||||
```
|
```
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user