"Test has no assertions" lint rule is very annoying when writing tests #67185
Labels
Developer Experience
Ideas about improving block and theme developer experience
[Status] In Progress
Tracking issues with work in progress
[Type] Automated Testing
Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests.
The "Test has no assertions" lint rule makes it very hard to see what you're doing when you're in the process of writing tests:
I haven't gotten to the point where I want to add an assertion yet. There are squigly yellow lines everywhere! I should be able to add assertions in my own time.
This might depend on the IDE/plugins being used, but I think my setup is a pretty standard one.
I'd suggest disabling this unless it can be improved as it's a bad experience for contributors. For me, this discourages writing tests.
The text was updated successfully, but these errors were encountered: