Toolverse
All skills

run-acceptance-tests

by hashicorp

Guide for running acceptance tests for a Terraform provider. Use this when asked to run an acceptance test or to run a test with the prefix `TestAcc`.

Installation

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

Installation

Quick info

Author
hashicorp
Category
Testing
Views
2

About this skill

Guide for running acceptance tests for a Terraform provider. Use this when asked to run an acceptance test or to run a test with the prefix TestAcc.

How to use

  1. Zainstaluj umiejętność w swoim środowisku agenta, dodając ją do konfiguracji dostępnych skills dla zadań związanych z testowaniem dostawców Terraform.

  2. Aby uruchomić test akceptacyjny, użyj polecenia go test -run=TestAccFeatureHappyPath (zastępując TestAccFeatureHappyPath nazwą swojego testu) z obowiązkową zmienną środowiskową TF_ACC=1. Test uruchomi się w trybie niewerbozy.

  3. Jeśli test wymaga dodatkowych zmiennych środowiskowych specyficznych dla Twojego dostawcy, umiejętność zasugeruje ich bezpieczną konfigurację na podstawie komunikatów błędów z wyjścia testu.

  4. W przypadku niepowodzenia testu, zastosuj kroki diagnostyczne w kolejności: najpierw uruchom test ponownie z opcją -count=1 aby pominąć cache, następnie dodaj flagę -v dla werbozy output, potem włącz TF_LOG=debug dla logów na poziomie debug, i wreszcie ustaw TF_ACC_WORKING_DIR_PERSIST=1 aby zachować workspace Terraform do dalszej analizy.

  5. Aby zweryfikować poprawność testów, możesz "przerzucić" test poprzez edycję jednej z funkcji weryfikacyjnych w TestCase, uruchomienie testu (powinien się nie powieść), a następnie cofnięcie zmian i potwierdzenie sukcesu flipu.

Related skills

ad-creative

by alirezarezvani

When the user needs to generate, iterate, or scale ad creative for paid advertising. Use when they say 'write ad copy,' 'generate headlines,' 'create ad variations,' 'bulk creative,' 'iterate on ads,' 'ad copy validation,' 'RSA headlines,' 'Meta ad copy,' 'LinkedIn ad,' or

Testing
2863

wcag-audit-patterns

by wshobson

Conduct WCAG 2.2 accessibility audits with automated testing, manual verification, and remediation guidance. Use when auditing websites for accessibility, fixing WCAG violations, or implementing accessible design patterns.

Testing
1893

crypto-research

by stevengonsalvez

Comprehensive cryptocurrency market research and analysis using specialized AI agents. Analyzes market data, price trends, news sentiment, technical indicators, macro correlations, and investment opportunities. Use when researching cryptocurrencies, analyzing crypto markets,

Testing
14118

differential-review

by trailofbits

Performs security-focused differential review of code changes (PRs, commits, diffs). Adapts analysis depth to codebase size, uses git history for context, calculates blast radius, checks test coverage, and generates comprehensive markdown reports. Automatically detects and

Testing
2510

textual

by KyleKing

Expert guidance for building TUI (Text User Interface) applications with the Textual framework. Invoke when user asks about Textual development, TUI apps, widgets, screens, CSS styling, reactive programming, or testing Textual applications.

Testing
69192

qa-tester

by svilupp

\

Testing
2399