Toolverse
All skills

verify-tests-fail-without-fix

by dotnet

Verifies UI tests catch the bug. Supports two modes - verify failure only (test creation) or full verification (test + fix validation).

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
dotnet
Category
Security

About this skill

Verifies UI tests catch the bug. Supports two modes - verify failure only (test creation) or full verification (test + fix validation).

How to use

  1. Upewnij się, że masz zainstalowane wymagane narzędzia: git, PowerShell i .NET SDK do budowania i uruchamiania testów. 2. Umieść skrypt verify-tests-fail.ps1 w katalogu .github/skills/verify-tests-fail-without-fix/scripts/ w swoim repozytorium. 3. Aby sprawdzić, czy testy zawodzą bez poprawki (tryb tworzenia testów), uruchom skrypt z parametrem Platform, na przykład: pwsh .github/skills/verify-tests-fail-without-fix/scripts/verify-tests-fail.ps1 -Platform android. Skrypt automatycznie wykryje pliki testów ze zmian. 4. Jeśli chcesz jawnie określić filtr testów, dodaj parametr -TestFilter, na przykład: pwsh .github/skills/verify-tests-fail-without-fix/scripts/verify-tests-fail.ps1 -Platform ios -TestFilter "Issue33356". 5. Do pełnej weryfikacji (zarówno zawodzenia testów bez poprawki, jak i ich przejścia z poprawką) dodaj parametr -RequireFullVerification: pwsh .github/skills/verify-tests-fail-without-fix/scripts/verify-tests-fail.ps1 -Platform android -RequireFullVerification. 6. Skrypt automatycznie wybierze tryb pracy na podstawie obecności plików poprawek w PR-ze; parametr -RequireFullVerification zapobiega cichemu powrotowi do trybu sprawdzenia zawodzenia, jeśli poprawki nie zostaną znalezione.

Related skills