oliverdavies.uk/source/_daily_emails/2023-08-25.md

19 lines
530 B
Markdown
Raw Normal View History

2024-01-03 20:00:00 +00:00
---
title: >
2024-09-08 22:09:54 +00:00
Start with a vague test
2024-01-03 20:00:00 +00:00
pubDate: 2023-08-25
permalink: >-
daily/2023/08/25/start-with-a-vague-test
2024-01-03 20:00:00 +00:00
tags:
2024-09-08 22:09:54 +00:00
- automated-testing
- test-driven-development
2024-01-03 20:00:00 +00:00
---
If you're unsure what your first test should be, start by writing a test with an intentionally vague name, just to get you started.
It may not be clear straight away what you're trying to test.
Once you get the ball rolling and you write more, it will usually become clear.
Then you can go back and rename the test method to something more specific.