Answer: The page describes generating unit tests with Devin Desktop, not Windsurf, so it does not explain how to use Windsurf for this. It does note that basic usage should reliably generate 60-70% of unit tests and recommends using @ Mentions and prompt engineering best practices. Status: Check failed Entry: tool/windsurf/features/unit-test-generation Revision: 1 Digest: sha256:bb146c4121f72167 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:58:30Z Last changed: 2026-11-13T03:58:30Z Last verified: 2026-11-13T03:58:30Z Last attempt: 2026-11-19T13:37:44Z (failed) Next check: 2026-11-19T14:37:44Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Unit | Source | As of tool referenced | Devin Desktop | | [1] | 2026-11-13 reliable test generation rate | 60-70% | percent | [1] | 2026-11-13 recommended practice | @ Mentions | | [1] | 2026-11-13 example prompt | Write unit test for @function-name that tests all edge cases for X and for Y | | [1] | 2026-11-13 Sources: [1] Windsurf. "Common Use Cases". https://docs.devin.ai/desktop/best-practices/use-cases Role: primary. Accessed: 2026-11-13T03:58:30Z Quote: "Basic usage of Devin Desktop for generating unit tests should reliably generate 60-70% of unit tests." (Supports: tool referenced, reliable test generation rate) Quote: "Best Practices: Use @ Mentions." (Supports: recommended practice) Quote: "Write unit test for @function-name that tests all edge cases for X and for Y" (Supports: example prompt) Published: 2026-11-13T02:38:45Z Snapshot SHA-256: 9239c46634e480642f29fd19713f33a6d8c82600d03101743fb246f00c322431 (captured 2026-11-13T03:58:31Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. Cross-check: not-available at 2026-11-13T03:58:30Z. No independent second source is configured for this entry Last successful check: 2026-11-13T03:58:30Z Last attempt: 2026-11-19T13:37:44Z (failed) Notes and limitations: Extracted automatically from a single official source (section "​ Unit Test generation"). Human-readable page: https://docs.windsurf.com/best-practices/use-cases.md Related: https://latestn.com/tool/windsurf/features/use-deepwiki-symbol-explanations How do I use DeepWiki in Windsurf to get explanations of code symbols? https://latestn.com/tool/windsurf/features/use-fast-context How do I use Fast Context in Windsurf? https://latestn.com/tool/windsurf/features/voice-input How do I use voice input in Windsurf Cascade for JetBrains? https://latestn.com/tool/windsurf/features/run-quick-review How do I run a Quick Review in Windsurf? https://latestn.com/tool/windsurf/features/send-elements-to-agent How do I send elements from the Windsurf preview to the agent? https://latestn.com/tool/windsurf/features/smart-paste-translate How do I use Smart Paste in Windsurf to translate code between languages? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T13:31:46Z | check-failed | Extraction did not pass verification: section "​ Unit Test generation" not found in the source (the page may have been reorganized) | — 2026-11-13T03:58:30Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/windsurf/features/unit-test-generation/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/windsurf/features/unit-test-generation POST: https://latestn.com/dispute/tool/windsurf/features/unit-test-generation with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/windsurf/features/unit-test-generation?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How can I use Windsurf to generate unit tests? Revision 1, last verified 2026-11-13T03:58:30Z. https://latestn.com/tool/windsurf/features/unit-test-generation (accessed 2026-11-21T09:53:53Z). @misc{LatestN_tool_windsurf_features_unit_test_generation_r1, title = {How can I use Windsurf to generate unit tests?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/windsurf/features/unit-test-generation}}, note = {Revision 1; digest sha256:bb146c4121f72167; last verified 2026-11-13T03:58:30Z; accessed 2026-11-21T09:53:53Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/windsurf/features/unit-test-generation