Skip to content
Snippets Groups Projects
Commit 095be8b3 authored by Peder Andreas Stuen's avatar Peder Andreas Stuen
Browse files

Changed formatting of some words in "HOW TO USE THE TESTING"

parent 0c5e5892
Branches
No related tags found
No related merge requests found
......@@ -150,11 +150,11 @@ What it does: This API test checks if an unspecified endpoint in the API return
To use testing:
1. Create a file named testauth.txt in directory /dcsg2900-threattotal
2. Start the backend main.go file using go run main.go
3. Start the frontend webserver using npm start in directory /dcsg2900-threattotal/threat-total
1. Create a file named *testauth.txt* in directory "/dcsg2900-threattotal"
2. Start the backend *main.go* file using `go run main.go`
3. Start the frontend webserver using `npm start` in directory "/dcsg2900-threattotal/threat-total"
4. Login to the application at localhost:3000
5. Maneuver to the local storage tab of your webbrowserver in google chrome it is located under application -> local storage.
6. Copy the value of the userAuth token stored in local storage.
7. Paste the value of the userAuth token into the .txt file created named testauth.txt.
8. Run the tests using command go test -v from the /dcsg2900-threattotal directory.
\ No newline at end of file
5. Maneuver to the local storage tab of your webbrowser. In google chrome it is located under application -> local storage.
6. Copy the value of the *userAuth* token stored in local storage.
7. Paste the value of the *userAuth* token into the .txt file created named *testauth.txt*.
8. Run the tests using command `go test -v` from the "/dcsg2900-threattotal directory".
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment