Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
teknikattan-scoring-system
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tddd96-grupp1
teknikattan-scoring-system
Commits
106b3c84
Commit
106b3c84
authored
3 years ago
by
Josef Olsson
Browse files
Options
Downloads
Patches
Plain Diff
Minor edits in testing files
parent
02abfcf1
No related branches found
Branches containing commit
No related tags found
1 merge request
!159
Resolve "Documentation"
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/source/testing.rst
+1
-1
1 addition, 1 deletion
docs/source/testing.rst
docs/source/testing/server.md
+1
-1
1 addition, 1 deletion
docs/source/testing/server.md
with
2 additions
and
2 deletions
docs/source/testing.rst
+
1
−
1
View file @
106b3c84
...
@@ -3,7 +3,7 @@ Testing
...
@@ -3,7 +3,7 @@ Testing
Here we briefly describe how we have tested the system.
Here we briefly describe how we have tested the system.
Both unit tests for the client and server has been made.
Both unit tests for the client and server has been made.
Some end
to
end tests ha
s
also been made that tests both the server and client at the same time.
Some end
-
to
-
end tests ha
ve
also been made that tests both the server and client at the same time.
.. toctree::
.. toctree::
:maxdepth: 2
:maxdepth: 2
...
...
This diff is collapsed.
Click to expand it.
docs/source/testing/server.md
+
1
−
1
View file @
106b3c84
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
The Python testing framework used to test the server is
[
pytest
](
https://docs.pytest.org/
)
.
The Python testing framework used to test the server is
[
pytest
](
https://docs.pytest.org/
)
.
The server tests are located in the folder
`./server/tests`
.
The server tests are located in the folder
`./server/tests`
.
The tests are further divided into files that test the database
`test_db.py`
and test the api
`test_api.py`
.
The tests are further divided into files that test the database
(
`test_db.py`
)
and test the api
(
`test_api.py`
)
.
The file
`test_helpers.py`
is used to store some common functionality between the tests, such as adding default values to the database.
The file
`test_helpers.py`
is used to store some common functionality between the tests, such as adding default values to the database.
There are also some functions that makes using the api easier, such as the
`get`
,
`post`
and
`delete`
functions.
There are also some functions that makes using the api easier, such as the
`get`
,
`post`
and
`delete`
functions.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment