Skip to main content

Posts

What Is Code Testing

What Is Code Testing I was too intimidated by the concept of code testing. Why will you test your code in the first place? Do you not trust your own code? Will it not work as intended? But then by reading so much about this, I fully got the hang of it. So here it goes: Without the automated code testing, the tendency is to test your code by running the entire program and manually testing it. So, you are still testing it without being aware of it. For example, for students doing programming in Robotics, since their focus is just to know whether their code is actually working, they will be manually running the code from time to time. If the code did not work as intended, then they will trace the problem. This entire process is being repeated and is actually time consuming particularly when the code is getting longer and longer. And take note, it is not yet one big project. But testing is already there, they are just doing it manually. Why Code Testing As was mentioned from my ex