Projekt

Obecné

Wiki

Profil

Akce

Testing » Historie » Revize 2

« Předchozí | Revize 2/4 (rozdíl) | Další »
Alex Konig, 2021-05-15 09:19


Testing

Unit tests

  • using Microsoft.VisualStudio.TestTools.UnitTesting + NuGet package moq
  • test all funcionalities not necesarilly all methods
  • both valid and invalid inputs

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

Runing tests

  • Main menu: Test > Run all tests

User tests

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

Server application

  • Admin test in a similar way for server application

Aktualizováno uživatelem Alex Konig před téměř 4 roky(ů) · 2 revizí