July 21, 2016 at 3:51 pm #13120@sarah-chandranOnly available when logged in
I have some queries, kindly clarify.
i. Does unit testing involve checking if coding standards have been followed ?
ii Can anyone please tell me in waterfall model
a. in which phase Unit Testing is carried out – implementation or testing phase ?
b. when is Code review done – after or before unit testing
SarahJuly 22, 2016 at 11:32 am #13148@kasperOnly available when logged in
i – No unit testing is solely done for the purpose of checking the correct working of a small chunk of code. Often it is as small as a single function.
Checking of coding standards typically is done when code is submitted to a repository like Git. Very often this is automated these days by the use of tools like Sonar.
ii – a. Unit testing is done during programming – so the implementation phase – by the developer or sometimes by a knowledgeable white box tester (who can read and write code). I assume you use the ISTQB SDLC phases, other Development lifecycles can see implementation as the last phase where the software is implemented by the end-user.
ii – b. Since code review involves a second (or more) person(s) it is typically done after unit-test and before the code is given to th testers.
You must be logged in to reply to this topic.