Toolverse
All skills

rails-testing

by etewiah

Help with Rails testing including unit tests, integration tests, fixtures, and debugging test failures. Use when working on tests or debugging test issues.

Installation

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

Installation

Quick info

Author
etewiah
Category
Testing
Views
1

About this skill

Help with Rails testing including unit tests, integration tests, fixtures, and debugging test failures. Use when working on tests or debugging test issues.

How to use

  1. Zainstaluj umiejętność w swoim projekcie Rails, umieszczając pliki w katalogu .claude/skills/rails-testing. 2. Przygotuj bazę danych testową, uruchamiając bin/rails db:test:prepare — Rails automatycznie używa oddzielnej bazy do testów. 3. Gdy potrzebujesz napisać test, opisz Claude'owi co chcesz testować (np. walidacje modelu, odpowiedzi kontrolera). Umiejętność przeanalizuje istniejące testy w katalogu test/ aby zrozumieć konwencje projektu. 4. Uruchamiaj testy komendą bin/rails test dla wszystkich testów lub bin/rails test test/models/user_test.rb dla konkretnego pliku. Dodaj flagę --fail-fast aby zatrzymać się na pierwszym błędzie. 5. Gdy test nie przechodzi, pokaż Claude'owi komunikat błędu i kod testu. Umiejętność pomoże zweryfikować dane testowe (fixtures, metody setup), sprawdzić asercje i zasugeruje debugowanie za pomocą puts lub p. 6. Pamiętaj że testy powinny być izolowane — każdy test powinien działać niezależnie od innych i nie polegać na efektach ubocznych z poprzednich testów.

Related skills

pair-trade-screener

by tradermonty

Statistical arbitrage tool for identifying and analyzing pair trading opportunities. Detects cointegrated stock pairs within sectors, analyzes spread behavior, calculates z-scores, and provides entry/exit recommendations for market-neutral strategies. Use when user requests pair

Testing
994

playwright-browser-automation

by lackeyjb

Complete browser automation with Playwright. Auto-detects dev servers, writes clean test scripts to /tmp. Test pages, fill forms, take screenshots, check responsive design, validate UX, test login flows, check links, automate any browser task. Use when user wants to test

Testing
13130

test-cases

by cexll

This skill should be used when generating comprehensive test cases from PRD documents or user requirements. Triggers when users request test case generation, QA planning, test scenario creation, or need structured test documentation. Produces detailed test cases covering

Testing
2862

langgraph-docs

by langchain-ai

Use this skill for requests related to LangGraph in order to fetch relevant documentation to provide accurate, up-to-date guidance.

Testing
23127

backtesting-frameworks

by wshobson

Build robust backtesting systems for trading strategies with proper handling of look-ahead bias, survivorship bias, and transaction costs. Use when developing trading algorithms, validating strategies, or building backtesting infrastructure.

Testing
12105

python-testing-patterns

by wshobson

Implement comprehensive testing strategies with pytest, fixtures, mocking, and test-driven development. Use when writing Python tests, setting up test suites, or implementing testing best practices.

Testing
46146