Projekt

Obecné

Profil

Testing » Historie » Revize 2

Revize 1 (Alex Konig, 2021-05-15 09:19) → Revize 2/4 (Alex Konig, 2021-05-15 09:19)

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 

 h3. Server application 

 
 * Admin test in a similar way for server application