Toolverse
All skills

unittest-test-creator

by jeremylongshore

Create unittest test creator operations. Auto-activating skill for Test Automation.\nTriggers on: unittest test creator, unittest test creator\nPart of the Test Automation skill category. Use when writing or running tests. Trigger with phrases like \

Installation

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

Installation

Quick info

Category
Testing
Views
1

About this skill

Create unittest test creator operations. Auto-activating skill for Test Automation.\nTriggers on: unittest test creator, unittest test creator\nPart of the Test Automation skill category. Use when writing or running tests. Trigger with phrases like \

How to use

  1. Upewnij się, że masz zainstalowane niezbędne narzędzia – interpreter Pythona, dostęp do edytora kodu i uprawnienia do odczytu/zapisu plików w swoim projekcie.

  2. Wyzwól skill, wpisując w prośbie do Claude'a słowa kluczowe takie jak "unittest test creator", "unittest creator" lub po prostu "unittest". Skill aktywuje się automatycznie.

  3. Opisz, jakie testy chcesz utworzyć – podaj nazwę modułu, funkcji lub klasy, którą testujesz, oraz scenariusze testowe, które Cię interesują.

  4. Claude wygeneruje kod testów, konfiguracje i rekomendacje best practices. Otrzymasz gotowy kod do wklejenia do pliku testów.

  5. Przejrzyj wygenerowany kod, sprawdź, czy spełnia Twoje wymagania, a następnie uruchom testy za pomocą polecenia bash (np. python -m unittest) – skill ma dostęp do narzędzi Bash.

  6. W razie błędów (brakujące pola konfiguracji, niezainstalowane zależności, problemy z uprawnieniami) sprawdź dokumentację skill'u i dostosuj swoje środowisko – skill wskaże, co trzeba naprawić.

Related skills