Skip to content

Commit

Permalink
Update developer guide to include pictures of code snippets in the te…
Browse files Browse the repository at this point in the history
…sting section.
  • Loading branch information
brandonyeoxg committed Oct 25, 2016
1 parent 0f17628 commit 64035a7
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions docs/DeveloperGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -272,25 +272,25 @@ We have two types of tests:


2. **Non-GUI Tests** - These are tests not involving the GUI. They include,
1. _Unit tests_ targeting the lowest level methods/classes. This includes, <br>
1. `seedu.taskmaster.commons.AppUtilTest`
2. `seedu.taskmaster.commons.ConfigUtilTest`
3. `seedu.taskmaster.commons.FileUtilTest`
4. `seedu.taskmaster.commons.JsonUtilTest`
5. `seedu.taskmaster.commons.StringUtilTest`
6. `seedu.taskmaster.commons.UrlUtilTest`
7. `seedu.taskmaster.commons.XmlUtilTest`
8. `seedu.taskmaster.model.UnmodifiableObservableListTest`
9. `seedu.taskmaster.commons.core.ConfigTest`
10. `seedu.taskmaster.commons.core.VersionTest`
1. _Unit tests_ targeting the lowest level methods/classes. Below are some snippets, <br>

_Task_<br>
<img src="images/test_snippet_Task.png" width="800"><br>

_RecurringTaskManager_<br>
<img src="images/test_snippet_RecurringManager.png" width="800"><br>

2. _Integration tests_ that are checking the integration of multiple code units
(those code units are assumed to be working). This includes, <br>
1. `seedu.taskmaster.storage.StorageManagerTest`
2. `seedu.taskmaster.storage.XmlTaskListStorageTest`
3. `seedu.taskmaster.storage.JsonUserPrefStorageTest`
(those code units are assumed to be working). Below are some snippets, <br>

_XmlTaskListStorage_<br>
<img src="images/test_snippet_XmlTaskListStorage.png" width="800"><br>

3. Hybrids of unit and integration tests. These test are checking multiple code units as well as
how the are connected together.<br>
e.g. `seedu.taskmaster.logic.LogicManagerTest`
how the are connected together. Below are some snippets,<br>

_LogicManagerTest_
<img src="images/test_snippet_LogicManagerTeest.png" width="800"><br>

**Headless GUI Testing** :
Thanks to the [TestFX](https://github.com/TestFX/TestFX) library we use,
Expand Down
Binary file added docs/images/test_snipper_XmlTaskListStorage.PNG
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/test_snippet_LogicManagerTest.PNG
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/test_snippet_RecurringTaskManager.PNG
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/test_snippet_Task.PNG
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 64035a7

Please sign in to comment.