Trusted answers to developer questions
Trusted Answers to Developer Questions

Related Tags

testing

What is code-free testing?

Samia Ishaque

Overview

Code-free testing is when a program is tested without executing the code in software development. This kind of testing overgoes the code, requirement, and design documents, and leaves feedback on these documents. Without executing the code, code-free testing checks for its security as well.

Code-free testing is also known as static testing, which is done in the early stage of development to improve the program without its execution. It is performed using various software.

Code-free testing can be broken down into two testing techniques, each of which also has further sub-groups:

  1. Review: This is to find discrepancies and bugs in documents and codes, respectively. It thoroughly checks and eliminates them. It is broken down further below.

    • Informal: In this step, a team of developers gives their comments on the documents involved in the early software development stages of a project.

    • Walkthrough: In the walkthrough, a lead conducts a meeting where the product is extensively discussed. The attendees are encouraged to ask questions about the product.

    • Peer review: In peer review, the team walks through the code to check if technical specifications are met. Everything related to test cases and strategy is discussed at this stage.

    • Inspection: Inspection is the most formal stage of a review, as a checklist is made regarding document reviews and the code walkthrough.

  2. Static analysis: Static analysis tools are used to find issues in the code, regardless of the execution of the code. The software used for static analysis takes code as its input. Static analysis highlights issues in the code such as undefined variables, unreachable code, security vulnerabilities, etc. It helps in not only understanding the code better, but also implementing standards for code that will make development easier at later stages.

Static analysis tools

  1. Raxis: This is the best tool in terms of security, as a security-focused developer is assigned to the project. Raxis provides feedback on the code with advice about improvements.

  2. SonarQube: This tool can be used to uphold the quality of your code and security.

  3. PVS-Studio: This tool can be integrated with Visual Studio and other IDEs. PVS-Studio is a tool for identifying bugs and security weaknesses in code that is written in C, C++, C#, and Java. Moreover, it’s compatible with Windows, Linux, and macOS environments.

RELATED TAGS

testing

CONTRIBUTOR

Samia Ishaque
Copyright ©2022 Educative, Inc. All rights reserved
RELATED COURSES

View all Courses

Keep Exploring