Testing » Historie » Revize 3
Revize 2 (Alex Konig, 2021-05-15 09:19) → Revize 3/4 (Alex Konig, 2021-06-03 12:52)
h1. Testing
h2. Unit tests
* using Microsoft.VisualStudio.TestTools.UnitTesting + NuGet package moq
* test all funcionalities not necesarilly all methods
* both valid and invalid inputs
h3. How to add test project in VS
* Right click on solution > add > new project
* Select template for "Test" projects
** Unit Test Project (.NET Framework)
* Add reference to main project
** Right click on References > Add reference
** Projects > pick project
h3. Runing tests
* Main menu: Test > Run all tests
h2. User tests
h3. Front end application
* Prepare scenarios for testers
* Probably in a google forms quiz
* Give testers freedom to test outside of pre-scripted scenarios + write down results
Link to form for testers: https://forms.gle/EhEP75wEfd1xa8hu5
h3. Server application
* Admin test in a similar way for server application