Skip to main content

deslop-tests

Clean up tests generated by AI.

Quellinformationen

Repository
devdotfast/skills
Letzte Quellaktivität
1. Oktober 2026 um 21:14
Erkannte Sprache von SKILL.md
Englisch
Sterne
5
Forks
1

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.

Datei-Explorer
2 Dateien

SKILL.md wird angezeigt

SKILL.md
Quellanweisungen · Schreibgeschützte Vorschau
name
deslop-tests
description
Clean up tests generated by AI.
disable-model-invocation
true
- For each commit in the new history, go through and take a look at the unit tests you've added - Assume you have absolutely no idea how to write unit tests, i.e. you're a complete moron in this department. You probably should delete the ones you've added, right? - I will say this again, because this really needs to sink in: bias towards deleting unit tests you've added - This is especially true if it does not materially change code coverage - It's ok to have a drop in code coverage for less wonky unit tests - ALWAYS ALWAYS (this is *IMPORTANT*) delete change detector tests: https://testing.googleblog.com/2015/01/testing-on-toilet-change-detector-tests.html. TL;DR - does the test act on the *API* that the code exposes, or does it act like a checksum over the contents of the underlying algorithm - For example, a test on a sorting algorithm should test that a list passed in is sorted, not the specifics of the sorting implementation
Auf GitHub ansehen