DEV Community 👩‍💻👨‍💻

Margaret W.N
Margaret W.N

Posted on

Software Testing: to do or not to do?

Is now good time to learn how to how write tests? Is there ever a good time to learn anything?. I've been contemplating on whether or not to learn how to test code. The first time i heard about this it sounded ridiculous; why would i have to write code to test? It does not make any sense, does it? But before we unanimously conclude on the sensibility,let's explore what testing is.

Software testing is a fault finding mission. A mission undertaken to ascertain that a software is performing the desired action efficiently. Take an example of a one page web app, you would naturally click through the links and buttons to confirm if they are working. Sounds so easy! But what if we scaled up this web app into a multiple page app (say 10 pages or so). It would quickly move from easy to boring or tedious depending on the complexity.

The gist is instead of manually clicking through a software interface searching for bugs, you can automate the process. The advantage is that you only write tests once and use a test script (one or two words) to test the program. One command and all the clicking is done for you, how convenient!

I do not know about you, but it is kinda making sense to me. I'd rather write the tests and let the program do the rest! But let us wait and see if that changes when i write my first test.

See you then
Day 41

Top comments (0)

Advice For Junior Developers

>> Check out this classic DEV post <<