File tree Expand file tree Collapse file tree 1 file changed +4
-13
lines changed
Expand file tree Collapse file tree 1 file changed +4
-13
lines changed Original file line number Diff line number Diff 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
99100Projektet använder linting för att säkerställa konsekvent kodstil och upptäcka vanliga fel.
100-
101- ### Python
102101``` bash
102+ # ## Python
103103npm run lint:py
104- ```
105104
106105# ## JavaScript / TypeScript
107- ``` bash
108106npm run lint:js
109- ```
110107
111108# ## Linting på allt
112- ``` bash
113109npm run lint
114110```
115111
116112### Linting på Python &
117113
118114## 🧪 Tester
119115
120- ### Unit- och integrationstester (Python):
121116``` bash
117+ # ## Unit- och integrationstester (Python):
122118pytest
123- ```
124119
125120# ## API-tester (Postman / Newman):
126- ``` bash
127121npm run api-test
128- ```
129122
130123# ## End-to-End tester (Playwright):
131- ``` bash
132124npm run e2e
133- ```
134125
135126# ## Köra alla tester:
136- ``` bash
137127npm 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
You can’t perform that action at this time.
0 commit comments