Skip to main content

Command Palette

Search for a command to run...

Why Write Tests?

Updated
β€’2 min read
Why Write Tests?
O

Hi, I'm Olanrewaju AlabaπŸ‘‹,

A passionate and results-driven software engineer with a knack for problem-solving and a love for creating efficient and scalable solutions with the latest industry trends and technologies.

A technical writer passionate about transforming complex concepts into clear, user-friendly documentation, I bring a wealth of experience in creating content that bridges the gap between technology and end-users.

Hello πŸ‘‹ techies,

This week's article will be addressing a very important, essential and one of the most underrated sections in the tree of software development, which is Testing.

With my little observation most developers especially junior developers tend to know nothing about writing tests and nearly all companies including average companies take testing in their developing process.

Firstly, what is test?

Test is a program created with a major aim to source out bugs and possible errors in another piece of code or program.

Reasons Why Test is Underrated.

  • Some developer sees testing as a waste of time, which can be really and truly time-consuming.
  • Some developers don't attempt because it can be boring and frustrating while writing
  • Some developers can't just find a solid reason why they must write code for a piece of code or set of codes

Why write tests?

Why does testing sound as important as this.

  • Testing is one of the laid down processes in software development.
  • Most companies values testing, knowing how to write tests makes it a plus and advantage for a developer.
  • Tests actually save one from time wastage and stress due to bugs.

Thanks for reading through this article and I hope you found it useful, you can connect with me on;

Bye πŸ‘‹.

M

Great writing CODE. I would also add writing unit tests will provide a safety net for refactoring, which is a must for clean code. It is highly advised to use TDD. By writing API tests you can test the business logic of your applucation. By writing e2e tests you can test the functionality of your software. By writing performance and load test you can make sure your application is performant enough to handle the user load.

1
O

Yeah, nicely said.

Thanks for the additional information 😊

I see, you are into testing automation πŸš€

2
M

You're welcome. Yes indeed, I fell in love with it 1,5 years ago 😊CODE

1
F

Thanks for sharing CODE, I too don't know how to write a test, hopefully, I spend time learning about it soon

1
O

Oh that's great, I wish you a happy testing journey ahead πŸš€

1

More from this blog

C

chryzcode

49 posts

Software Engineer || Technical Writer