unittest-test-creator
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
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
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.
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.
Opisz, jakie testy chcesz utworzyć – podaj nazwę modułu, funkcji lub klasy, którą testujesz, oraz scenariusze testowe, które Cię interesują.
Claude wygeneruje kod testów, konfiguracje i rekomendacje best practices. Otrzymasz gotowy kod do wklejenia do pliku testów.
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.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ć.