Back to list
yldgio

password-generator-testing

by yldgio

Vibe Coding training sample creator: declarative AI-agent driven prompts and instructions for multi-level coding exercises.

0🍴 0📅 Jan 8, 2026

SKILL.md


name: password-generator-testing description: Comprehensive testing workflow for password generator applications. Use when creating, running, or debugging tests for password generation functionality. license: MIT

Password Generator Testing Workflow

When to Use

Use this skill for comprehensive testing of password generator functionality including unit tests, integration tests, and e2e tests.

Testing Strategy

1. Unit Tests

Test individual functions in isolation:

  • generatePassword() - core generation logic
  • calculateStrength() - password strength calculation
  • validateOptions() - user input validation

2. Integration Tests

Test component interactions:

  • UI updates when options change
  • Password display updates on generation
  • Strength meter reflects password quality

3. E2E Tests

Test complete user workflows:

  • Generate password with default settings
  • Customize all options and generate
  • Copy password to clipboard

Test Template

Use the test template as a starting point for new tests.

Running Tests

# Run all tests
npm test

# Run with coverage report
npm test -- --coverage

# Run specific test file
npm test -- password.test.js

# Watch mode for development
npm test -- --watch

Debugging Failed Tests

  1. Check test output for specific assertion failures
  2. Use console.log to inspect intermediate values
  3. Run single test in isolation with .only
  4. Verify test fixtures match expected format

Score

Total Score

55/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

0/5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon