- This topic has 2 replies, 2 voices, and was last updated 7 years, 9 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Home › Forums › Software Testing Discussions › Waterfall Model
Hi,
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
Thanks,
Sarah
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.
Thank you for your reply.