Skip to content

📝 Add note on complementary testing approaches#6522

Merged
dubzzz merged 3 commits into
mainfrom
copilot/add-note-on-testing-guidelines
Feb 1, 2026
Merged

📝 Add note on complementary testing approaches#6522
dubzzz merged 3 commits into
mainfrom
copilot/add-note-on-testing-guidelines

Conversation

Copilot AI commented Feb 1, 2026

Copy link
Copy Markdown
Contributor

Clarifies that property-based testing should not replace example-based testing entirely.

Changes

Added a "Don't" guideline in the javascript-testing-expert skill file:

**❌ Don't** try to test 100% of the algorithm cases using property-based testing
Why? Property-based testing and example-based testing are complementary. Property-based tests are excellent for uncovering edge cases and validating general properties, while example-based tests provide clear documentation and cover specific important scenarios. Use both approaches together for comprehensive test coverage.

Positioned after the guideline about using property-based testing for edge case detection, reinforcing that both approaches serve distinct purposes in a comprehensive test suite.

Original prompt

in our existing skill add a note with a don't to explain that we should not try to test 100% of the cases of Algo using property based and example based is complementary


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

@changeset-bot

changeset-bot Bot commented Feb 1, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 79d383d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copilot AI changed the title [WIP] Add note on complementary testing approaches for Algo 📝 Add note on complementary testing approaches Feb 1, 2026
Copilot AI requested a review from dubzzz February 1, 2026 10:59
@dubzzz
dubzzz marked this pull request as ready for review February 1, 2026 13:14
@dubzzz
dubzzz enabled auto-merge (squash) February 1, 2026 13:14
@pkg-pr-new

pkg-pr-new Bot commented Feb 1, 2026

Copy link
Copy Markdown
@fast-check/ava

npm i https://pkg.pr.new/@fast-check/ava@6522

fast-check

npm i https://pkg.pr.new/fast-check@6522

@fast-check/jest

npm i https://pkg.pr.new/@fast-check/jest@6522

@fast-check/packaged

npm i https://pkg.pr.new/@fast-check/packaged@6522

@fast-check/poisoning

npm i https://pkg.pr.new/@fast-check/poisoning@6522

@fast-check/vitest

npm i https://pkg.pr.new/@fast-check/vitest@6522

@fast-check/worker

npm i https://pkg.pr.new/@fast-check/worker@6522

commit: 79d383d

@github-actions

github-actions Bot commented Feb 1, 2026

Copy link
Copy Markdown
Contributor

@dubzzz
dubzzz merged commit 5c61dff into main Feb 1, 2026
50 of 51 checks passed
@dubzzz
dubzzz deleted the copilot/add-note-on-testing-guidelines branch February 1, 2026 13:21
@codecov

codecov Bot commented Feb 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.85%. Comparing base (7615aae) to head (79d383d).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6522   +/-   ##
=======================================
  Coverage   94.85%   94.85%           
=======================================
  Files         207      207           
  Lines        5581     5581           
  Branches     1467     1468    +1     
=======================================
  Hits         5294     5294           
  Misses        274      274           
  Partials       13       13           
Flag Coverage Δ
tests 94.85% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants