From f2aefe7d276349f433760d25d3401c248dbb1271 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Victor=20L=C3=B6fgren?= <viclo211@student.liu.se> Date: Mon, 24 May 2021 15:19:17 +0200 Subject: [PATCH] Write some text on client testing and development --- docs/source/development/client.md | 4 ++-- docs/source/testing/client.md | 4 +++- docs/source/testing/e2e.md | 5 ++++- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/docs/source/development/client.md b/docs/source/development/client.md index c868be74..3cef7f40 100644 --- a/docs/source/development/client.md +++ b/docs/source/development/client.md @@ -1,10 +1,10 @@ # Frontend -[comment]: # (TODO) +Here it is described how to work with the frontend in the system. ## Working with TypeScript -[comment]: # (TODO) +The main programming languange used for the front end is TypeScript. ### npm diff --git a/docs/source/testing/client.md b/docs/source/testing/client.md index b0201a48..367eee00 100644 --- a/docs/source/testing/client.md +++ b/docs/source/testing/client.md @@ -1,3 +1,5 @@ # Testing the client -[comment]: # (TODO) \ No newline at end of file +The clients tests are the files named `<name>.test.ts`. +They test the file called `<name>.ts`. +They are run using the [VS Code task](../development/vscode.md) `Unit tests`. diff --git a/docs/source/testing/e2e.md b/docs/source/testing/e2e.md index 62d70386..2fdffa7a 100644 --- a/docs/source/testing/e2e.md +++ b/docs/source/testing/e2e.md @@ -1,3 +1,6 @@ # End to end tests -[comment]: # (TODO) \ No newline at end of file +The end to end tests are tests that test the entire system, both the server and the client. +They are stored in the folder `/client/src/e2e/`. +Both the client and the server need to be running for the end to end tests to work. +The tests are run using the [VS Code task](../development/vscode.md) `Run e2e tests`. -- GitLab