Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can you perform unit / integration tests without creating test codes?

In our project, test procedures and expected test results (test specifications) are created in a document. Then, we perform testing on a built product / release. Here, no test codes nor test tools are involved.

Is this acceptable for unit / integration testing?

like image 727
geffchang Avatar asked Mar 19 '10 12:03

geffchang


People also ask

Does integration testing require coding?

Both unit testing and integration testing are types of testing that require coding (in contrast to forms of testing that rely on screen recording, for instance.) You can perform both types of testing using similar or even the same tools.

Can we do integration testing without unit testing?

Unit testing and integration testing are both important parts of successful software development. Although they serve different yet related purposes, one cannot replace the other.

Can we do integration testing manually?

So, you can run integration tests manually without any software.

What are the four different ways that we can perform integration testing?

Common approaches to integration testing. Four key strategies to execute integration testing are big-bang, top-down, bottom-up and sandwich/hybrid testing. Each approach has benefits and drawbacks. Big-bang testing: The big-bang approach involves integrating all modules at once and testing them all as one unit.


2 Answers

What you are doing is "manual testing".

Manual testing per definition is not, and can never be unit testing.

Manual testing can be used for integration testing, and in fact should be used to some degree, because automated tests cannot spot all forms of unexpected error conditions. Especially bugs having to do with layout and things not "looking right" (which happen to be rather common in web apps).

However, if you have no automated tests at all, it means that your application is insufficiently tested, period. Because it's completely infeasible to manually test every detailed aspect of an application for every release - no organization would be willing or able to pay for the effort that would require.

like image 88
Michael Borgwardt Avatar answered Nov 15 '22 12:11

Michael Borgwardt


Is this acceptable for unit / integration testing?

No. what you describe is neither unit nor integration testing, it is taking the build for a walk around the block to get a cup of coffee.

like image 37
Sky Sanders Avatar answered Nov 15 '22 11:11

Sky Sanders