Skip to content

Commit 0527508

Browse files
committed
Uppdatera README
1 parent 781b0da commit 0527508

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

README.md

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Projektet är förberett för **CI (GitHub Actions)**.
1313
- Uppdatera status (`not-started`, `in-progress`, `done`)
1414
- Ta bort TODO-poster
1515
- SQLite som databas
16+
- Lintning för projektets källkod och dokumentation
1617
- Tester på flera nivåer (unit, API, E2E)
1718
- CI-redo (GitHub Actions)
1819

@@ -97,43 +98,32 @@ http://127.0.0.1:5001
9798
## 🔎 Kodkvalitet (Lint)
9899

99100
Projektet använder linting för att säkerställa konsekvent kodstil och upptäcka vanliga fel.
100-
101-
### Python
102101
```bash
102+
### Python
103103
npm run lint:py
104-
```
105104

106105
### JavaScript / TypeScript
107-
```bash
108106
npm run lint:js
109-
```
110107

111108
### Linting på allt
112-
```bash
113109
npm run lint
114110
```
115111

116112
### Linting på Python &
117113

118114
## 🧪 Tester
119115

120-
### Unit- och integrationstester (Python):
121116
```bash
117+
### Unit- och integrationstester (Python):
122118
pytest
123-
```
124119

125120
### API-tester (Postman / Newman):
126-
```bash
127121
npm run api-test
128-
```
129122

130123
### End-to-End tester (Playwright):
131-
```bash
132124
npm run e2e
133-
```
134125

135126
### Köra alla tester:
136-
```bash
137127
npm run test:all
138128
```
139129

@@ -148,6 +138,7 @@ CI-flödet utför följande steg:
148138
- Installerar Python-beroenden
149139
- Installerar Node-beroenden (Newman, Playwright)
150140
- Startar Flask-applikationen
141+
- Lintning för att säkerställa konsekvent kodstil och upptäcka vanliga problem i projektets källkod och dokumentation
151142
- Kör tester på flera nivåer:
152143
- **Unit- och integrationstester** med `pytest`
153144
- **API-tester** med Postman/Newman

0 commit comments

Comments
 (0)