Skip to content
This repository has been archived by the owner on Apr 23, 2022. It is now read-only.

Commit

Permalink
Add testing document
Browse files Browse the repository at this point in the history
  • Loading branch information
kekalainen committed May 16, 2021
1 parent c27ba27 commit 0e91674
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ A desktop application which can be used for playing chess, storing past games an

[Architecture description](documentation/architecture_description.md)

[Testing document](documentation/testing-document.md)

[Timesheet](documentation/timesheet.md)

## Releases
Expand Down
Binary file added documentation/img/coverage.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions documentation/testing-document.md
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.

0 comments on commit 0e91674

Please sign in to comment.