0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-06 02:51:10 +08:00
discourse/.skills/discourse-writing-rspec-tests
Alan Guo Xiang Tan d4ebfad68b
DEV: Improve RSpec agent testing guidance (#41611)
This PR updates the RSpec agent skill with Discourse-specific guidance
for choosing assertions, structuring fixtures, and writing reliable
system tests.

The copied generic RSpec style guide duplicated upstream advice that
could drift from both its source and Discourse's conventions.

Key changes:
* Add public-boundary and test-layer guidance so specs assert behavior
owned by the layer under test.
* Add fabricator, system-test cost, deterministic transient-state, URL,
and page-object guidance to reduce brittle tests.
* Remove the copied style guide and its references so the skill only
maintains Discourse-specific advice.
2026-07-10 12:06:53 +08:00
..
references DEV: Improve RSpec agent testing guidance (#41611) 2026-07-10 12:06:53 +08:00
SKILL.md DEV: Improve RSpec agent testing guidance (#41611) 2026-07-10 12:06:53 +08:00