- Zrozumienie podstaw Dot Net
Publiczność
- Testerzy oprogramowania
MSTest, xUnit i nUnit to frameworki do testowania jednostkowego. MSTest jest znany z testowania integracyjnego i jest oficjalnym frameworkiem do testowania jednostkowego stworzonym przez Microsoft. nUnit jest przypisany do testowania jednostkowego Dot Net. xUnit specjalizuje się w przetwarzaniu 32-bitowym i 64-bitowym i jest kolejnym frameworkiem przypisanym do Dot Net.
Szkolenie na żywo prowadzone przez instruktora (na miejscu lub zdalnie) jest przeznaczone dla testerów oprogramowania, którzy chcą przetestować funkcjonalność kodu jednostkowego za pomocą MSTest, xUnit i nUnit.
Po zakończeniu tego szkolenia uczestnicy będą w stanie
- Tworzenie testów jednostkowych przy użyciu MSTest do testowania aplikacji.
- Wyświetlanie wyników testów za pomocą CodeLens.
- Zrozumienie różnych narzędzi testowych dla Test-Driven Development.
Format kursu
- Interaktywny wykład i dyskusja.
- Dużo ćwiczeń i praktyki.
- Praktyczne wdrożenie w środowisku live-lab.
Opcje dostosowywania kursu
- Aby zamówić niestandardowe szkolenie dla tego kursu, skontaktuj się z nami.
Wprowadzenie
Unit Testing Frameworks
- Czym są testy jednostkowe?
- Podstawy frameworka testów jednostkowych
Test-Driven Development
- Przegląd refaktoryzacji
- Różne podejścia do testowania
Przygotowanie środowiska programistycznego
- Instalacja i konfiguracja Visual Studio Code
- Instalowanie i konfigurowanie .Net
- Instalowanie i konfigurowanie nUnit
Pisanie Unit Testing Framework
- Tworzenie testu
- Stosowanie większej liczby testów
- Refaktoryzacja programu uruchamiającego testy
- Praca z klasą assert
- Refleksja do wywoływania metod
- Używanie konwencji nazewnictwa
Visual Studio Code Integracja
- Tworzenie projektu przy użyciu szablonów
- Tworzenie projektu za pomocą frameworka testów jednostkowych
- Uruchamianie testu
- Optymalizacja kodu
- Testowanie parametrów
nUnit
- Pisanie i uruchamianie jednostki testowej
- Używanie ograniczeń
- Testowanie parametrów
xUnit
- Pisanie i uruchamianie testów jednostkowych
- Testowanie parametrów za pomocą InLine
- Testowanie wielu parametrów
- Używanie niestandardowego elementu klasy
Zaawansowane optymalizacje
- Grupowanie testów
- Praca z atrybutami testów
- Dostosowywanie za pomocą list odtwarzania
- Debugowanie testów
- Korzystanie z menu testów
- Wyświetlanie wyników za pomocą CodeLens
- Korzystanie z pokrycia kodu
- Uruchamianie testów za pomocą MSTest
Podsumowanie i wnioski
United Arab Emirates - Unit Testing: MSTest, xUnit, and nUnit
Qatar - Unit Testing: MSTest, xUnit, and nUnit
Egypt - Unit Testing: MSTest, xUnit, and nUnit
Saudi Arabia - Unit Testing: MSTest, xUnit, and nUnit
South Africa - Unit Testing: MSTest, xUnit, and nUnit
Brasil - Unit Testing: MSTest, xUnit, and nUnit
Canada - Unit Testing: MSTest, xUnit, and nUnit
中国 - Unit Testing: MSTest, xUnit, and nUnit
香港 - Unit Testing: MSTest, xUnit, and nUnit
澳門 - Unit Testing: MSTest, xUnit, and nUnit
台灣 - Unit Testing: MSTest, xUnit, and nUnit
USA - Unit Testing: MSTest, xUnit, and nUnit
Österreich - Unit Testing: MSTest, xUnit, and nUnit
Schweiz - Unit Testing: MSTest, xUnit, and nUnit
Deutschland - Unit Testing: MSTest, xUnit, and nUnit
Czech Republic - Unit Testing: MSTest, xUnit, and nUnit
Denmark - Unit Testing: MSTest, xUnit, and nUnit
Estonia - Unit Testing: MSTest, xUnit, and nUnit
Finland - Unit Testing: MSTest, xUnit, and nUnit
Greece - Unit Testing: MSTest, xUnit, and nUnit
Magyarország - Unit Testing: MSTest, xUnit, and nUnit
Ireland - Unit Testing: MSTest, xUnit, and nUnit
Luxembourg - Unit Testing: MSTest, xUnit, and nUnit
Latvia - Unit Testing: MSTest, xUnit, and nUnit
España - Unit Testing: MSTest, xUnit, and nUnit
Italia - Unit Testing: MSTest, xUnit, and nUnit
Lithuania - Unit Testing: MSTest, xUnit, and nUnit
Nederland - Unit Testing: MSTest, xUnit, and nUnit
Norway - Unit Testing: MSTest, xUnit, and nUnit
Portugal - Unit Testing: MSTest, xUnit, and nUnit
România - Unit Testing: MSTest, xUnit, and nUnit
Sverige - Unit Testing: MSTest, xUnit, and nUnit
Türkiye - Unit Testing: MSTest, xUnit, and nUnit
Malta - Unit Testing: MSTest, xUnit, and nUnit
Belgique - Unit Testing: MSTest, xUnit, and nUnit
France - Unit Testing: MSTest, xUnit, and nUnit
日本 - Unit Testing: MSTest, xUnit, and nUnit
Australia - Unit Testing: MSTest, xUnit, and nUnit
Malaysia - Unit Testing: MSTest, xUnit, and nUnit
New Zealand - Unit Testing: MSTest, xUnit, and nUnit
Philippines - Unit Testing: MSTest, xUnit, and nUnit
Singapore - Unit Testing: MSTest, xUnit, and nUnit
Thailand - Unit Testing: MSTest, xUnit, and nUnit
Vietnam - Unit Testing: MSTest, xUnit, and nUnit
India - Unit Testing: MSTest, xUnit, and nUnit
Argentina - Unit Testing: MSTest, xUnit, and nUnit
Chile - Unit Testing: MSTest, xUnit, and nUnit
Costa Rica - Unit Testing: MSTest, xUnit, and nUnit
Ecuador - Unit Testing: MSTest, xUnit, and nUnit
Guatemala - Unit Testing: MSTest, xUnit, and nUnit
Colombia - Unit Testing: MSTest, xUnit, and nUnit
México - Unit Testing: MSTest, xUnit, and nUnit
Panama - Unit Testing: MSTest, xUnit, and nUnit
Peru - Unit Testing: MSTest, xUnit, and nUnit
Uruguay - Unit Testing: MSTest, xUnit, and nUnit
Venezuela - Unit Testing: MSTest, xUnit, and nUnit
Polska - Unit Testing: MSTest, xUnit, and nUnit
United Kingdom - Unit Testing: MSTest, xUnit, and nUnit
South Korea - Unit Testing: MSTest, xUnit, and nUnit
Pakistan - Unit Testing: MSTest, xUnit, and nUnit
Sri Lanka - Unit Testing: MSTest, xUnit, and nUnit
Bulgaria - Unit Testing: MSTest, xUnit, and nUnit
Bolivia - Unit Testing: MSTest, xUnit, and nUnit
Indonesia - Unit Testing: MSTest, xUnit, and nUnit
Kazakhstan - Unit Testing: MSTest, xUnit, and nUnit
Moldova - Unit Testing: MSTest, xUnit, and nUnit
Morocco - Unit Testing: MSTest, xUnit, and nUnit
Tunisia - Unit Testing: MSTest, xUnit, and nUnit
Kuwait - Unit Testing: MSTest, xUnit, and nUnit
Oman - Unit Testing: MSTest, xUnit, and nUnit
Slovakia - Unit Testing: MSTest, xUnit, and nUnit
Kenya - Unit Testing: MSTest, xUnit, and nUnit
Nigeria - Unit Testing: MSTest, xUnit, and nUnit
Botswana - Unit Testing: MSTest, xUnit, and nUnit
Slovenia - Unit Testing: MSTest, xUnit, and nUnit
Croatia - Unit Testing: MSTest, xUnit, and nUnit
Serbia - Unit Testing: MSTest, xUnit, and nUnit
Bhutan - Unit Testing: MSTest, xUnit, and nUnit