summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAineopintojen-harjoitustyo-Algoritmit-j <github-hy-tiralabra@v.hix.fi>2024-02-09 16:50:16 +0200
committerAineopintojen-harjoitustyo-Algoritmit-j <github-hy-tiralabra@v.hix.fi>2024-02-09 16:50:16 +0200
commit69da1795b78841a8ffb44c5da5fc0011c6d02de9 (patch)
tree525c69c953f42a07034f4e6129f504395d268c61 /doc
parent027f4c0b27b2bfe5541c16b9d7a355c49db891f7 (diff)
Refactoring tests some more.v0.1-gamma
Diffstat (limited to 'doc')
-rw-r--r--doc/DEV.md16
-rw-r--r--doc/muistilista.txt10
2 files changed, 16 insertions, 10 deletions
diff --git a/doc/DEV.md b/doc/DEV.md
new file mode 100644
index 0000000..6f3eec4
--- /dev/null
+++ b/doc/DEV.md
@@ -0,0 +1,16 @@
+# Ohjeita kehitykseen
+## Riippuvuuksien asennus:
+`PYTHON_KEYRING_BACKEND=keyring.backends.fail.Keyring poetry install --no-root`
+
+## Aja pytest:
+`poetry run python3 -m pytest`
+
+## Generoi haarakattavuusraportti:
+`poetry run python3 -m coverage run --branch -m pytest -v && poetry run python3 -m coverage html && firefox htmlcov/index.html`
+
+## Linttaus:
+`poetry run python3 -m pylint -v .`
+
+## Kaikki samassa:
+`poetry run python3 -m coverage run --branch -m pytest -v && poetry run python3 -m coverage html && firefox htmlcov/index.html && poetry run python3 -m pylint -v .`
+
diff --git a/doc/muistilista.txt b/doc/muistilista.txt
deleted file mode 100644
index d163048..0000000
--- a/doc/muistilista.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-MUISTILISTA!
-
-Generoi haarakattavuusraportti:
-poetry run python3 -m coverage run --branch -m pytest -v && poetry run python3 -m coverage html && firefox htmlcov/index.html
-
-Linttaus
-poetry run python3 -m pylint -v .
-
-riippuvuuksien asennus:
-PYTHON_KEYRING_BACKEND=keyring.backends.fail.Keyring poetry install --no-root