A
A
AndeDark2021-05-16 17:35:51
Software testing
AndeDark, 2021-05-16 17:35:51

Can unit testing be non-automated?

Hi Habr, this is my first time with testing, so I have a few questions:
1. I want to test individual modules, but I work mainly with large data arrays, so it can take a lot of time to write a test case for a single module, that is, I it will be easier to manually take it yourself and see what data comes in, will testing be considered unit testing in this case and can unit testing be non-automatic?
2. Same thing with integration testing, can it be non-automated?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vasily Bannikov, 2021-05-16
@AndeDark

1. I want to test individual modules, but I work mainly with large data arrays, so it can take a lot of time to write a test case for a single module, that is, it will be easier for me to manually take and see what data comes in, whether in that case testing is considered unit testing and can unit testing be non-automated?

This will be manual testing.
If large data arrays are used, then this huge array can be saved to a file, and the reference result (if it is also large) to another file. And just compare the processing result with the standard.
For example, we did this when it was necessary to distill a large and complex XML into an equally large and complex text or binary format.
Of course, conversion was checked separately in small pieces even in units, but it was necessary to check everything as a whole.
2. Same thing with integration testing, can it be non-automated?

Non-automated integration testing is also manual testing :)

I
Ilya, 2021-05-16
@sarapinit

The essence of unit testing is automation. If you check something with your eyes and run it with your hands, then this is manual testing. It also has its place.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question