daily-email: add 2023-08-11
Everyone tests their code
This commit is contained in:
parent
6e33721dda
commit
4a03437471
22
src/content/daily-email/2023-08-11.md
Normal file
22
src/content/daily-email/2023-08-11.md
Normal file
|
@ -0,0 +1,22 @@
|
|||
---
|
||||
title: >
|
||||
Everyone tests their code
|
||||
pubDate: 2023-08-11
|
||||
permalink: >
|
||||
archive/2023/08/11/everyone-tests-their-code
|
||||
tags:
|
||||
- automated-testing
|
||||
- test-driven-development
|
||||
---
|
||||
|
||||
No one writes code, commits it and pushes it to production without checking it works.
|
||||
|
||||
Everyone tests their code, but they usually do it manually. They switch from the code to a browser or terminal, run the code and evaluate the result.
|
||||
|
||||
This takes time, you need to switch contexts, and the test is only valid for that time.
|
||||
|
||||
There's no guarantee it will still work in the future.
|
||||
|
||||
Automated testing, however, means you can write your code and run the tests without leaving your IDE or text editor.
|
||||
|
||||
The tests can also be run in the future to ensure the functionality works without needing to re-test it manually.
|
Loading…
Reference in a new issue