Skip to content

Weed unit tests - #13089

Open
Red-byte3D wants to merge 10 commits into
cmss13-devs:masterfrom
Red-byte3D:weedtestss
Open

Weed unit tests#13089
Red-byte3D wants to merge 10 commits into
cmss13-devs:masterfrom
Red-byte3D:weedtestss

Conversation

@Red-byte3D

@Red-byte3D Red-byte3D commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

About the pull request

adds unit tests for weeds i'lla dd anything thats missing

Explain why it's good for the game

unitests

Testing Photographs and Procedure

Screenshots & Videos

Put screenshots and videos here with an empty line between the screenshots and the <details> tags.

Changelog

🆑
add: Unit test for weeds
fix: proper returns after boiler qdel effect code
/:cl:

@github-project-automation github-project-automation Bot moved this to Awaiting Review in Review Backlog Sep 4, 2026
@cmss13-ci cmss13-ci Bot added Feature Feature coder badge size/L Denotes a PR that changes 200-799 lines, ignoring generated files. labels Sep 4, 2026
@cmss13-ci cmss13-ci Bot added the Fix Fix one bug, make ten more label Sep 5, 2026

@antlersss antlersss left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks pretty good, but the test fail messages need some work to be more descriptive. People reading test failures generally don't have the full context to what's happening internally during a test, so it helps to be as descriptive as possible. I suggested changes to some of the fail messages to give you an idea as to what we might be looking for.

It might seem redundant, but you probably should also add header comments to each of these tests explaining what each of them is testing for.

Comment thread code/modules/unit_tests/weed_tests.dm Outdated
Comment thread code/modules/unit_tests/weed_tests.dm Outdated
Comment thread code/modules/unit_tests/weed_tests.dm Outdated
Comment thread code/modules/unit_tests/weed_tests.dm Outdated
Comment thread code/modules/unit_tests/weed_tests.dm Outdated
Comment thread code/modules/unit_tests/weed_tests.dm
Comment thread code/modules/unit_tests/weed_tests.dm
Comment thread code/modules/unit_tests/weed_tests.dm Outdated
Comment thread code/modules/unit_tests/weed_tests.dm Outdated
Comment thread code/modules/unit_tests/weed_tests.dm Outdated
Comment thread code/modules/unit_tests/weed_tests.dm Outdated
Comment thread code/modules/unit_tests/weed_tests.dm Outdated
Comment thread code/modules/unit_tests/weed_tests.dm Outdated
@github-project-automation github-project-automation Bot moved this from Awaiting Review to Changes Requested in Review Backlog Sep 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature Feature coder badge Fix Fix one bug, make ten more size/L Denotes a PR that changes 200-799 lines, ignoring generated files.

Projects

Status: Changes Requested

Development

Successfully merging this pull request may close these issues.

3 participants