sentenz / convention

General articles, conventions, and guides.
https://sentenz.github.io/convention/
Apache License 2.0
4 stars 2 forks source link

Modify article about `Software Testing` #268

Open sentenz opened 8 months ago

sentenz commented 8 months ago
1.3.2.1.1. Shift Left

Shift Left refers to the practice of integrating security measures and considerations earlier in the software development lifecycle (SDLC), typically during the initial phases such as planning, design, and coding. This approach aims to detect and address security vulnerabilities and issues as early as possible, reducing the cost and effort of fixing them later in the development process or, worse, after deployment. By shifting security left, organizations can foster a culture of proactive security awareness, improve collaboration between development, operations, and security teams, and ultimately deliver more secure and resilient software products.

Shift Left refers to the practice of integrating quality assurance and testing processes earlier in the software development lifecycle (SDLC), typically starting from the initial stages of planning and design. This approach aims to identify and address defects and issues earlier in the development process, which can ultimately reduce costs, improve product quality, and accelerate time-to-market.

By shifting testing and quality assurance activities leftward in the SDLC, teams can catch defects sooner, when they are less expensive and time-consuming to fix.

Techniques and ...:

  1. Early Testing: Conducting testing activities, such as unit testing, integration testing, and even some forms of user acceptance testing, as soon as possible in the development process.

  2. Automation: Implementing automated testing processes to quickly and efficiently test code changes as they are made, ensuring that defects are caught early and frequently.

  3. Continuous Integration and Continuous Delivery (CI/CD): Utilizing CI/CD pipelines to automate the build, test, and deployment processes, allowing for rapid feedback on code changes and facilitating a continuous flow of software delivery.

  4. Collaboration: Encouraging collaboration between developers, testers, and other stakeholders throughout the SDLC to ensure that quality is considered at every stage of development.

1.3.2.1.1. Shift Right

Shift Right refers to the practice of extending security measures and considerations beyond the traditional boundaries of development and testing phases into the post-deployment or production environment. This approach emphasizes ongoing monitoring, detection, and response to security threats and vulnerabilities in real-time production environments. By shifting security right, organizations can continuously assess the security posture of their systems, promptly respond to emerging threats, and implement remediation measures to enhance the overall resilience and security of their software applications.

"Shift Right" in software development refers to the practice of extending testing and quality assurance activities beyond the traditional boundaries of the development process, typically focusing on post-deployment phases such as production monitoring, feedback collection, and user experience optimization. This approach complements the "Shift Left" strategy by emphasizing continuous improvement and validation in real-world environments.

Key aspects of shifting right in software development include:

  1. Production Monitoring: Continuously monitoring the performance, stability, and security of software applications in production environments to detect and address issues as they arise.

  2. User Feedback and Experience: Actively collecting feedback from end users through various channels such as user surveys, feedback forms, and analytics tools to understand their experiences and preferences, and using this information to make iterative improvements to the software.

  3. A/B Testing and Experimentation: Conducting A/B tests and experiments to compare different versions of the software or specific features in order to determine which variations perform better in terms of user engagement, conversion rates, or other key metrics.

  4. Incremental Updates and Deployment: Adopting a continuous delivery approach to software updates and deployment, allowing for frequent and incremental changes to be delivered to users quickly and efficiently.

  5. Root Cause Analysis and Continuous Learning: Investigating and analyzing the root causes of issues and failures that occur in production environments, and using this information to enhance testing, development, and deployment processes to prevent similar issues in the future.

1.3.2.1.1. Penetration Testing

Penetration testing, also known as ethical hacking, involves simulating real-world attacks to assess the security vulnerabilities of the software system. Skilled security professionals attempt to exploit weaknesses and gain unauthorized access to the system.

1.3.2.1.2. Vulnerability Scanning

Vulnerability scanning is a security analysis technique that involves scanning the software system for known security vulnerabilities and weaknesses. This includes using automated tools to identify common vulnerabilities, such as outdated software versions, misconfigurations, weak authentication mechanisms, or inadequate access controls.

1.2.2. Behavior-Driven Development

Behavior-Driven Development (BDD) is a software development approach that focuses on defining the behavior of a system through the use of concrete examples expressed in natural language. It is a collaborative process that involves developers, testers, and business stakeholders working together to ensure that the system is being developed to meet the needs of its users.

Concepts of BDD:

Tools and Frameworks:

sentenz commented 6 months ago

Related #156