View this email in your browser


I Test All My Code Manually...All Two Lines of It



This is not a debate on the virtues of manual testing over automated testing. It is simple. Time is precious, skilled workers are hard to find, or, you have kids. Manual testing should now be used only in a select small set of special cases. For everything else, there's automated testing (MasterCard pun unintended).

Yet, some say test-driven development is fundamentally wrong and advise that testing code, sacrificing sanity is the coder's way of life.

But,  Software testing is no longer an edge-case mapping exercise that you can do in your head. You got to plan for this too:
 
 

Everything needs to be tested now, meticulously.

As startups and services pop up like mushrooms in a rainforest, the propensity of codebases breaking or getting hacked is on the rise.

Remember the Tesla Truck? It broke during Live Launch.
 

Tesla Truck GIF - Tesla Truck Cybertruck - Discover & Share GIFs

 

If Elon Musk can have testing blindspots as big as this, so can you. Although, Mr. Musk can take that hit and keep walking. Can you?


For programmers, CI is a must. Data testing is a must.

Debugging and reporting tools should be appropriately configured. Your API calls need to be vigorously tested. These are just the basics and hopefully, you've got these covered.

Your testing needs to be performed with the broadest brush, by the keenest of testers, across multiple devices, operating systems, and weirdly enough, timezones.

Or, you could look at automated solutions that blur the lines between codeless and code-driven testing.

This newsletter's sponsor -  Testim.io, built an AI-based codeless - Testim Development Framework. Register for the Webinar here and join tomorrow, the 31st of March, to learn to achieve faster release cycles. Learn more about the webinar here.

As A Developer - I'm happy. Automated testing got my back.

As a Manager, I know that bugs can prove to be very expensive. And damaging. Remember this?
 

Bill Gates, Windows 98, Blue Screen of Death on Make a GIF

 

Ultimately, the choice is yours. Manual testing is time-consuming but the level of granularity that good programmers bring to the table is practically unbeatable today.

On the other hand, manual testing is, well, manual. Automating it saves hours of your developers' time and lets you release a better, more stable release, faster.

To read more about manual and automated testing, check out the real-life tales of real Hacker Noon contributors.


#StaySafe,

Hacker Noon Editorial Staff

 

Take Your Software Quality to the Next Level

By @joseph.crick

Construction-stage testing has one of the lowest impacts on actual product quality. Don’t get me wrong. Keep writing unit tests. But know that Unit tests are small fish in a big sea. If you really want to write quality software, your focus should be somewhere else.

Read More

 

Conditional Coin Flips with Rock Paper Scissors

By @puyan-wei

This process of writing a failing test, then making it pass is what is done for TDD. The next step would be to write one for returning 1. Each small step you take towards your final goal.

Read More

 

Fast Prototyping With Azure Functions and TDD

By @Pcc

The business logic must not depend on any infrastructure. That way, it’s easy to test it with unit tests.

Read More

 

Why Your Project's 1st Commit Should Have a Working App & CI/CD Pipeline

By @steven-randolph

Developers like reuse and fewer barriers, the business likes savings, and an enterprise likes productivity and innovation. However, to inject those benefits is still a very manual, time consuming process, making the overall sell of DevOps harder.

Read More

 

Behavior-Driven Development From Scratch [101]

By @julien-topcu

The starting point is always a scenario, defining the needs of the user. Without this, you can not create software that matters. This "specification" must be made with the main stakeholder: the user (or at least one person who represents and understands him).

Read More

How to Create Test Scripts without Coding, using mabl

By @mabl

I want to make sure that the email address form validation is working, so I’ll create a randomly generated variable called Email and insert it into the email address form. In the last image below, you can see all the steps leading up to the email form, and our newly created email variable being inserted into the form.

Read More

 

Introduction to Test Driven Development (TDD)

By @ssaurel

TDD is not a miracle solution for having an optimal unit test suite without effort. It is important to keep in mind that within this practice, the test code is as important if not more important than the production code!

Read More

Four reasons you need automated tests for your code

What happens if you go back to a piece of code after a few weeks and realise it is definitely not as well architected as it should be? You will probably have to refactor your code, one of life’s greatest joys!

Read More

 

Test F.I.R.S.T

By @thecodegang

Read More
 

The Green Build Deceit: Why passing tests are insidious

Read More

The guilt of not testing everything

By @jungyue

Read More

 

CI-friendly options in the world of automation testing tools

By @michaeltomara

Read More
 

Things that aren’t testing frameworks

Read More

 

How well does it work? Profiling in Haskell

By @james_32022

 Read More
 
Remember:
"There are no secrets to success. It is the result of preparation,
hard work, and learning from failure." 

- Colin Powell
Copyright © 2020 Hacker Noon. All rights reserved.

Our mailing address is:
PO Box 2206, Edwards CO, 81632, U.S.A. 

Want to change how you receive these emails?
You can update your preferences or unsubscribe from this list.