9
Unit testing is a generic term for any test of an independent part of a program? Or is it a exclusive term for object-oriented paradigms, with procedures already known?
Every time I find any post related to unit testing, the vast majority cites terminology already pertaining to the subject (mock, automated tests, etc.). Forms a grid of disciplineOras giving the impression of being a generic term, Oras giving the impression of being a universal good practice the development platform. Other posts well-intentioned in relation to the question, focus on the application of the unit test to a given platform (Shell, Jasmine, etc.). Others still start with a good definition, but end up deviating to practical examples, moving away from the definition that I still do not understand. The result of these readings is usually to have more questions than answers.
What are the main types that exist? And what ways to apply these?
There are two good topics here at Sopt, but that did not satisfy my doubts completely (besides being different questions): What is the difference between unit test and integrated test What are Unit Tests for and what are the advantages?
Related: What is a stress test?
– UzumakiArtanis