SlideShare uma empresa Scribd logo
1 de 22
How Code Reviewing Can Help
With Quality Assurance?
What Is Code Review And Its Objective?
Code reviewing is a practice where
the source code is broken into small
pieces, which are inspected by the
supervisors or seniors in the team
to be carried out just before testing.
It is a process mostly followed in
Agile methodology.
Why Code Reviewing Is Inevitable?
Early Bug Detection: When bugs
are detected at a very early stage in
the development phase, it reduces
a lot of time during the testing
phase. The overall process becomes
a lot inexpensive. Although
nowadays, automation testing
reduces the testing effort and time
spent, still, there is no better gift
than the human nature of detecting
and correcting mistakes committed
by others.
Why Code Reviewing Is Inevitable?
Mentoring Juniors: When a fresher
joins a project, seniors may not
have much time to mentor or guide
the junior about the coding
practices or train them about how
they do their job. The ideal solution
in that scenario for a senior
developer is to spend at least 20-30
minutes in reviewing the code
written by the junior.
Why Code Reviewing Is Inevitable?
Age of Agile: Nowadays most
organizations follow Agile methodology
and require to deliver quality work in
time. Code review will enable the
organization to develop a quality
prototype, free from defects and
developed following the standard
protocols.
Why Code Reviewing Is Inevitable?
Team Cohesion: Frequent review discussion brings the team closer, makes
them aware of each other’s strength and weakness and saves them from
getting stuck in an isolated environment.
Can Code Reviewing And Testing Replace
One Another?
For starters, Code reviewing and
testing, both are best practices to be
included in a software development
life cycle. However, both are unique in
their own ways and must not be
confused. It would be wrong to think
that you don’t need code reviewing
because you have testing in your SDLC
or vice-versa.
Can Code Reviewing And Testing Replace
One Another?
Code review involves inspecting the
code which may or may not include
checking for bugs. It involves checking
whether the style of code is under
compliance by all policies, whether
there is any breach of security and
most importantly, whether the code
can be understood easily or not.
Can Code Reviewing And Testing Replace
One Another?
Testing, on the other hand, has several
categories. The main objective of
testing is not to check the code, but to
check whether the application works
perfectly or not. Testing involves
detecting whether there are any bugs
in different layers of the application,
whether the application satisfies all
the requirements of the stakeholders
and ensuring that the issues detected
are communicated to the concerned
team.
Can Code Reviewing And Testing Replace
One Another?
I’ll share my personal experience. Our
team was working on a large dynamic
web application. After the final testing
phase, the entire application was
satisfying every user requirements.
However, there was one problem – the
loading time.
How To Participate In Code Review As QA?
Code review is considered to be a part
of static testing, an activity to be
conducted mostly by quality analysts
to find out whether any bug can be
spotted earlier, before the testing
phase starts. If the testing team
actively participates in code review, it
saves a lot of time.
How To Participate In Code Review As QA?
You may wonder how to get started
with code review when you are into
testing and do not have any
experience with development. But the
fact is, code reviewing only requires
your observational skills, not your
coding proficiency. For starters, you
may start with automation scripts.
How To Participate In Code Review As QA?
Also, if someone from your team have
been reviewing codes, discuss or sit
with them and try to get an
understanding of how they are doing
the job. Check whether they are
looking at
● Log messages which are clearly
understandable
● Syntax errors
● Errors caused by spelling mistakes
● Naming conventions
Ways To Perform Code Review
Formal Code Review: It is a detailed process that requires you to collaborate with
multiple participants and work in multiple phases. This is the traditional process
where the team attends meetings and check the code line by line, traditionally
using printed copies. Inspections are thoroughly done and the method is found to
be effective in finding defects.
Ways To Perform Code Review
Lightweight Code Review: This process is also quite effective and requires less
effort that formal code review. Conducted as a part of normal development
procedures, there are 4 ways by which this review is carried out.
Over the Shoulder, Passing Emails, Pair Programming, Tool Assisted Review
Code Review Checklist For Selenium Automation Testing
Although there are certain best practices which we shall discuss later, that will
result in a flawless code review, if you are conducting automation testing with
Selenium WebDriver for cross browser testing of your website, there are certain
factors to check while reviewing your code.
Code Review – Best Practices To Follow
Know What You Are Looking For: Set up your goal before reviewing. Prepare a list
which may include coding style, structure, the complexity of logic, readability. In
short, include items which cannot be reviewed during automated testing and
requires human intervention.
Code Review – Best Practices To Follow
Build & Test Prior To Review: In the current age of continuous integration and
continuous delivery, it is ideal to build and test the code before manually reviewing
it. This ensures that the code is stable and saves a lot of time.
Code Review – Best Practices To Follow
Don’t Take Too Long To Review: As a part of code review best practices, you need
to ensure that you are not spending more than the average time in code review. It
will be better if you review the code in short breaks to ensure that your brain gets
the required interval and you can start again with a fresh mind.
Code Review – Best Practices To Follow
Your Review Must Not Hurt: Instead of being critical, be constructive in your
review. Ask questions instead of making statements. Also, praise the developer for
their job. Your feedback in the right tone must not hurt them, it should rather
inspire them to correct their mistakes and make sure it does not happen again.
I hope you now realize the relevance of code reviewing in the SDLC, along with its
distinction from testing. If you are a product manager then it is vital for you to
incorporate code reviewing process in your release cycle, in case it already isn’t. In
case it is incorporated, you need to organize the bandwidth and resources efficiently
and make sure that the participation is active from both developers as well as
testers.
www.lambdatest.com
CONCLUSION
HAPPY TESTING!!

Mais conteúdo relacionado

Mais de Sarah Elson

Skyrocket Your Cross Browser Testing with Minimal Effort
Skyrocket Your Cross Browser Testing with Minimal EffortSkyrocket Your Cross Browser Testing with Minimal Effort
Skyrocket Your Cross Browser Testing with Minimal EffortSarah Elson
 
Using galen framework for automated cross browser layout testing
Using galen framework for automated cross browser layout testingUsing galen framework for automated cross browser layout testing
Using galen framework for automated cross browser layout testingSarah Elson
 
Selenium Web Driver Tutorial for Cross Browser Testing
Selenium Web Driver Tutorial for Cross Browser TestingSelenium Web Driver Tutorial for Cross Browser Testing
Selenium Web Driver Tutorial for Cross Browser TestingSarah Elson
 
17 Ways to Save Time on Manual Cross Browser Testing
17 Ways to Save Time on Manual Cross Browser Testing17 Ways to Save Time on Manual Cross Browser Testing
17 Ways to Save Time on Manual Cross Browser TestingSarah Elson
 
What is Continuous Integration and Continuous Delivery
What is Continuous Integration and Continuous Delivery What is Continuous Integration and Continuous Delivery
What is Continuous Integration and Continuous Delivery Sarah Elson
 
Overcoming The Challenges Faced in Exploratory Testing
Overcoming The Challenges Faced in Exploratory TestingOvercoming The Challenges Faced in Exploratory Testing
Overcoming The Challenges Faced in Exploratory TestingSarah Elson
 
Guide to Browser Compatibility for Online Learning Platforms
Guide to Browser Compatibility for Online Learning PlatformsGuide to Browser Compatibility for Online Learning Platforms
Guide to Browser Compatibility for Online Learning PlatformsSarah Elson
 
What is the Need for Software Testing?
What is the Need for Software Testing?What is the Need for Software Testing?
What is the Need for Software Testing?Sarah Elson
 
Top 15 Interview Questions for Manual Testers
Top 15 Interview Questions for Manual TestersTop 15 Interview Questions for Manual Testers
Top 15 Interview Questions for Manual TestersSarah Elson
 
Design Patterns for Micro Service Architecture
Design Patterns for Micro Service ArchitectureDesign Patterns for Micro Service Architecture
Design Patterns for Micro Service ArchitectureSarah Elson
 
Top 13 Mistakes Committed by Angular Java script Developers
Top 13 Mistakes Committed by Angular Java script DevelopersTop 13 Mistakes Committed by Angular Java script Developers
Top 13 Mistakes Committed by Angular Java script DevelopersSarah Elson
 
Importance of a Test Management Tool for Your Project
Importance of a Test Management Tool for Your ProjectImportance of a Test Management Tool for Your Project
Importance of a Test Management Tool for Your ProjectSarah Elson
 
Easy Cross Browser Testing with LambdaTest Screenshots Chrome Extension
Easy Cross Browser Testing with LambdaTest Screenshots Chrome ExtensionEasy Cross Browser Testing with LambdaTest Screenshots Chrome Extension
Easy Cross Browser Testing with LambdaTest Screenshots Chrome ExtensionSarah Elson
 
LambdaTest + GitHub = Seamless Software Testing Experience 🚀😍
LambdaTest + GitHub = Seamless Software Testing Experience 🚀😍LambdaTest + GitHub = Seamless Software Testing Experience 🚀😍
LambdaTest + GitHub = Seamless Software Testing Experience 🚀😍Sarah Elson
 

Mais de Sarah Elson (14)

Skyrocket Your Cross Browser Testing with Minimal Effort
Skyrocket Your Cross Browser Testing with Minimal EffortSkyrocket Your Cross Browser Testing with Minimal Effort
Skyrocket Your Cross Browser Testing with Minimal Effort
 
Using galen framework for automated cross browser layout testing
Using galen framework for automated cross browser layout testingUsing galen framework for automated cross browser layout testing
Using galen framework for automated cross browser layout testing
 
Selenium Web Driver Tutorial for Cross Browser Testing
Selenium Web Driver Tutorial for Cross Browser TestingSelenium Web Driver Tutorial for Cross Browser Testing
Selenium Web Driver Tutorial for Cross Browser Testing
 
17 Ways to Save Time on Manual Cross Browser Testing
17 Ways to Save Time on Manual Cross Browser Testing17 Ways to Save Time on Manual Cross Browser Testing
17 Ways to Save Time on Manual Cross Browser Testing
 
What is Continuous Integration and Continuous Delivery
What is Continuous Integration and Continuous Delivery What is Continuous Integration and Continuous Delivery
What is Continuous Integration and Continuous Delivery
 
Overcoming The Challenges Faced in Exploratory Testing
Overcoming The Challenges Faced in Exploratory TestingOvercoming The Challenges Faced in Exploratory Testing
Overcoming The Challenges Faced in Exploratory Testing
 
Guide to Browser Compatibility for Online Learning Platforms
Guide to Browser Compatibility for Online Learning PlatformsGuide to Browser Compatibility for Online Learning Platforms
Guide to Browser Compatibility for Online Learning Platforms
 
What is the Need for Software Testing?
What is the Need for Software Testing?What is the Need for Software Testing?
What is the Need for Software Testing?
 
Top 15 Interview Questions for Manual Testers
Top 15 Interview Questions for Manual TestersTop 15 Interview Questions for Manual Testers
Top 15 Interview Questions for Manual Testers
 
Design Patterns for Micro Service Architecture
Design Patterns for Micro Service ArchitectureDesign Patterns for Micro Service Architecture
Design Patterns for Micro Service Architecture
 
Top 13 Mistakes Committed by Angular Java script Developers
Top 13 Mistakes Committed by Angular Java script DevelopersTop 13 Mistakes Committed by Angular Java script Developers
Top 13 Mistakes Committed by Angular Java script Developers
 
Importance of a Test Management Tool for Your Project
Importance of a Test Management Tool for Your ProjectImportance of a Test Management Tool for Your Project
Importance of a Test Management Tool for Your Project
 
Easy Cross Browser Testing with LambdaTest Screenshots Chrome Extension
Easy Cross Browser Testing with LambdaTest Screenshots Chrome ExtensionEasy Cross Browser Testing with LambdaTest Screenshots Chrome Extension
Easy Cross Browser Testing with LambdaTest Screenshots Chrome Extension
 
LambdaTest + GitHub = Seamless Software Testing Experience 🚀😍
LambdaTest + GitHub = Seamless Software Testing Experience 🚀😍LambdaTest + GitHub = Seamless Software Testing Experience 🚀😍
LambdaTest + GitHub = Seamless Software Testing Experience 🚀😍
 

Último

Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEEVICTOR MAESTRE RAMIREZ
 
What are the key points to focus on before starting to learn ETL Development....
What are the key points to focus on before starting to learn ETL Development....What are the key points to focus on before starting to learn ETL Development....
What are the key points to focus on before starting to learn ETL Development....kzayra69
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsAhmed Mohamed
 
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company OdishaBalasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odishasmiwainfosol
 
Introduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfIntroduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfFerryKemperman
 
Best Web Development Agency- Idiosys USA.pdf
Best Web Development Agency- Idiosys USA.pdfBest Web Development Agency- Idiosys USA.pdf
Best Web Development Agency- Idiosys USA.pdfIdiosysTechnologies1
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmSujith Sukumaran
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtimeandrehoraa
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesŁukasz Chruściel
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEOrtus Solutions, Corp
 
Buds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in NoidaBuds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in Noidabntitsolutionsrishis
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...Technogeeks
 
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...confluent
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Velvetech LLC
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024StefanoLambiase
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Angel Borroy López
 
Odoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 EnterpriseOdoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 Enterprisepreethippts
 

Último (20)

Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEE
 
What are the key points to focus on before starting to learn ETL Development....
What are the key points to focus on before starting to learn ETL Development....What are the key points to focus on before starting to learn ETL Development....
What are the key points to focus on before starting to learn ETL Development....
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML Diagrams
 
Advantages of Odoo ERP 17 for Your Business
Advantages of Odoo ERP 17 for Your BusinessAdvantages of Odoo ERP 17 for Your Business
Advantages of Odoo ERP 17 for Your Business
 
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company OdishaBalasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
 
Introduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfIntroduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdf
 
Best Web Development Agency- Idiosys USA.pdf
Best Web Development Agency- Idiosys USA.pdfBest Web Development Agency- Idiosys USA.pdf
Best Web Development Agency- Idiosys USA.pdf
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalm
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtime
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New Features
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
 
Buds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in NoidaBuds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in Noida
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...
 
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
 
Odoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 EnterpriseOdoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 Enterprise
 
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort ServiceHot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
 

How Code Reviewing Can Help With Quality Assurance

  • 1. How Code Reviewing Can Help With Quality Assurance?
  • 2. What Is Code Review And Its Objective? Code reviewing is a practice where the source code is broken into small pieces, which are inspected by the supervisors or seniors in the team to be carried out just before testing. It is a process mostly followed in Agile methodology.
  • 3. Why Code Reviewing Is Inevitable? Early Bug Detection: When bugs are detected at a very early stage in the development phase, it reduces a lot of time during the testing phase. The overall process becomes a lot inexpensive. Although nowadays, automation testing reduces the testing effort and time spent, still, there is no better gift than the human nature of detecting and correcting mistakes committed by others.
  • 4. Why Code Reviewing Is Inevitable? Mentoring Juniors: When a fresher joins a project, seniors may not have much time to mentor or guide the junior about the coding practices or train them about how they do their job. The ideal solution in that scenario for a senior developer is to spend at least 20-30 minutes in reviewing the code written by the junior.
  • 5. Why Code Reviewing Is Inevitable? Age of Agile: Nowadays most organizations follow Agile methodology and require to deliver quality work in time. Code review will enable the organization to develop a quality prototype, free from defects and developed following the standard protocols.
  • 6. Why Code Reviewing Is Inevitable? Team Cohesion: Frequent review discussion brings the team closer, makes them aware of each other’s strength and weakness and saves them from getting stuck in an isolated environment.
  • 7. Can Code Reviewing And Testing Replace One Another? For starters, Code reviewing and testing, both are best practices to be included in a software development life cycle. However, both are unique in their own ways and must not be confused. It would be wrong to think that you don’t need code reviewing because you have testing in your SDLC or vice-versa.
  • 8. Can Code Reviewing And Testing Replace One Another? Code review involves inspecting the code which may or may not include checking for bugs. It involves checking whether the style of code is under compliance by all policies, whether there is any breach of security and most importantly, whether the code can be understood easily or not.
  • 9. Can Code Reviewing And Testing Replace One Another? Testing, on the other hand, has several categories. The main objective of testing is not to check the code, but to check whether the application works perfectly or not. Testing involves detecting whether there are any bugs in different layers of the application, whether the application satisfies all the requirements of the stakeholders and ensuring that the issues detected are communicated to the concerned team.
  • 10. Can Code Reviewing And Testing Replace One Another? I’ll share my personal experience. Our team was working on a large dynamic web application. After the final testing phase, the entire application was satisfying every user requirements. However, there was one problem – the loading time.
  • 11. How To Participate In Code Review As QA? Code review is considered to be a part of static testing, an activity to be conducted mostly by quality analysts to find out whether any bug can be spotted earlier, before the testing phase starts. If the testing team actively participates in code review, it saves a lot of time.
  • 12. How To Participate In Code Review As QA? You may wonder how to get started with code review when you are into testing and do not have any experience with development. But the fact is, code reviewing only requires your observational skills, not your coding proficiency. For starters, you may start with automation scripts.
  • 13. How To Participate In Code Review As QA? Also, if someone from your team have been reviewing codes, discuss or sit with them and try to get an understanding of how they are doing the job. Check whether they are looking at ● Log messages which are clearly understandable ● Syntax errors ● Errors caused by spelling mistakes ● Naming conventions
  • 14. Ways To Perform Code Review Formal Code Review: It is a detailed process that requires you to collaborate with multiple participants and work in multiple phases. This is the traditional process where the team attends meetings and check the code line by line, traditionally using printed copies. Inspections are thoroughly done and the method is found to be effective in finding defects.
  • 15. Ways To Perform Code Review Lightweight Code Review: This process is also quite effective and requires less effort that formal code review. Conducted as a part of normal development procedures, there are 4 ways by which this review is carried out. Over the Shoulder, Passing Emails, Pair Programming, Tool Assisted Review
  • 16. Code Review Checklist For Selenium Automation Testing Although there are certain best practices which we shall discuss later, that will result in a flawless code review, if you are conducting automation testing with Selenium WebDriver for cross browser testing of your website, there are certain factors to check while reviewing your code.
  • 17. Code Review – Best Practices To Follow Know What You Are Looking For: Set up your goal before reviewing. Prepare a list which may include coding style, structure, the complexity of logic, readability. In short, include items which cannot be reviewed during automated testing and requires human intervention.
  • 18. Code Review – Best Practices To Follow Build & Test Prior To Review: In the current age of continuous integration and continuous delivery, it is ideal to build and test the code before manually reviewing it. This ensures that the code is stable and saves a lot of time.
  • 19. Code Review – Best Practices To Follow Don’t Take Too Long To Review: As a part of code review best practices, you need to ensure that you are not spending more than the average time in code review. It will be better if you review the code in short breaks to ensure that your brain gets the required interval and you can start again with a fresh mind.
  • 20. Code Review – Best Practices To Follow Your Review Must Not Hurt: Instead of being critical, be constructive in your review. Ask questions instead of making statements. Also, praise the developer for their job. Your feedback in the right tone must not hurt them, it should rather inspire them to correct their mistakes and make sure it does not happen again.
  • 21. I hope you now realize the relevance of code reviewing in the SDLC, along with its distinction from testing. If you are a product manager then it is vital for you to incorporate code reviewing process in your release cycle, in case it already isn’t. In case it is incorporated, you need to organize the bandwidth and resources efficiently and make sure that the participation is active from both developers as well as testers. www.lambdatest.com CONCLUSION