- This topic has 2 replies, 2 voices, and was last updated 4 years, 5 months ago by .
- You must be logged in to reply to this topic.
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
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.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.