Projekt

Obecné

Profil

Testing » Historie » Verze 3

Alex Konig, 2021-06-03 12:52

1 1 Alex Konig
h1. Testing
2
3
h2. Unit tests
4
5
* using Microsoft.VisualStudio.TestTools.UnitTesting + NuGet package moq
6
* test all funcionalities not necesarilly all methods
7
* both valid and invalid inputs
8
9
h3. How to add test project in VS
10
11
* Right click on solution > add > new project
12
* Select template for "Test" projects
13
** Unit Test Project (.NET Framework)
14
* Add reference to main project
15
** Right click on References > Add reference
16
** Projects > pick project
17
18
h3. Runing tests
19
20
* Main menu: Test > Run all tests
21
22
23
h2. User tests
24
25
h3. Front end application
26 2 Alex Konig
27 1 Alex Konig
* Prepare scenarios for testers
28
* Probably in a google forms quiz
29
* Give testers freedom to test outside of pre-scripted scenarios + write down results
30
31 3 Alex Konig
Link to form for testers: https://forms.gle/EhEP75wEfd1xa8hu5
32
33 1 Alex Konig
h3. Server application
34 2 Alex Konig
35 1 Alex Konig
* Admin test in a similar way for server application