This repository has been archived by the owner on Apr 23, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c27ba27
commit 0e91674
Showing
3 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Testing document | ||
|
||
The application is tested using automated unit tests and manual system tests. | ||
|
||
## Automated testing | ||
|
||
Unit and integration testing covers the game logic. The tests are implemented using the [unittest](https://docs.python.org/3/library/unittest.html) framework. | ||
|
||
There are corresponding test classes for the game, board and AI classes. The rest of the game logic is tested indirectly though the aforementioned classes. | ||
|
||
### Coverage report | ||
|
||
User interface and bootstrapping code is omitted from the coverage report. As of writing this document, the test coverage is 77%: | ||
|
||
![coverage report](./img/coverage.jpg) | ||
|
||
## Manual testing | ||
|
||
System testing is done manually by installing and using the software as per the [user guide](./user-guide.md) on both Linux and Windows. |