Fundamentals & Test Process

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson
Download our mobile app to listen on the go
Get App

Questions and Answers

What is the primary goal of testing software?

  • To prevent defects. (correct)
  • To satisfy the development team.
  • To demonstrate the software is error-free.
  • To find as many defects as possible.

In an Agile environment, the roles of tester and debugger are strictly separated.

False (B)

Name three objectives of software testing.

Prevent defects, detect defects, gain confidence.

The cost of fixing an anomaly increases drastically if it is found during the ______ phase.

<p>production</p> Signup and view all the answers

Match the following test terms with their descriptions:

<p>Base de test = The knowledge used as the basis for analysis and design of tests Testware = The activities performed during the test process used for planning, conception, evaluation, and reporting Oracle de test = A source to determine an expected result and compare with the system tested Conditions de test = Aspects of the base test that can help achieve specific test objectives</p> Signup and view all the answers

According to the ISTQB, which statement about testing is correct?

<p>Testing can demonstrate the presence of defects. (A)</p> Signup and view all the answers

Increased test frequency reduces the need for continuous test maintenance.

<p>False (B)</p> Signup and view all the answers

Name three characteristics required of good testers.

<p>Curiosity, analytical skills, teamwork</p> Signup and view all the answers

According to ISO 25000, an example of a non-functional requirement is ______.

<p>portability</p> Signup and view all the answers

Match the following Quality Software Characteristics based on the ISO/IEC 25010 Standard:

<p>Security = Confidentiality, Integrity, Responsibility Reliability = Maturity, Availability, Recoverability Performance = Time behavior, Resource utilization, Capacity Compatibility = Co-existence, Interoperability</p> Signup and view all the answers

While performing debugging what is the initial input?

<p>Eгог (B)</p> Signup and view all the answers

Exhaustive testing guarantees that a software application is entirely error-free.

<p>False (B)</p> Signup and view all the answers

What are the two kind of tests that can be determined based on objective by the tests?

<p>Functional and Non-Functional</p> Signup and view all the answers

Test ______ are regularly updated to detect new defects.

<p>cases</p> Signup and view all the answers

Match the test to correct description

<p>Vérification = Confirmité du produit par rapport aux esigence spécifiées Validation = Confirmité du produit par rapport aux besoins métier</p> Signup and view all the answers

In white box testing, what is the process?

<p>To look through code (C)</p> Signup and view all the answers

A test plan elaborates how to find defects.

<p>True (A)</p> Signup and view all the answers

Name three items included in a Test Plan?

<p>Objectives, strategy, schedule</p> Signup and view all the answers

The acronym EDB stands for ______.

<p>Besoin</p> Signup and view all the answers

Match the defect origin based on project pahse

<p>56% = Specification (requirement &amp; analysis) 27% = Design 7% = Implementation</p> Signup and view all the answers

How would you refer to Test Manager in a agile way of working?

<p>Test consultant (A)</p> Signup and view all the answers

The software development process of extreme coding has more iterations.

<p>True (A)</p> Signup and view all the answers

What is RAD model?

<p>Model of prototypes</p> Signup and view all the answers

In agile scrum the ______ occurs daily

<p>scrum</p> Signup and view all the answers

What belongs to Tests Alpha ?

<p>test opérationnel réel ou simulé par des utilisateurs = Equipe indépendante du client</p> Signup and view all the answers

When is the most appropriate stage to be involved in the project for a test engineer?

<p>The begining (C)</p> Signup and view all the answers

In the waterfall methodology Test is early.

<p>False (B)</p> Signup and view all the answers

What is the last cycle of the spiral model?

<p>Version finale</p> Signup and view all the answers

In agile the phases are named ______.

<p>iterations</p> Signup and view all the answers

Match the following phases based on models sequential:

<p>Requirements/Analysis = CDC System/Software architecture = STD Codes = SFD</p> Signup and view all the answers

What is test d'acceptance?

<p>Vérification et la validation (A)</p> Signup and view all the answers

A test should always start earlier.

<p>True (A)</p> Signup and view all the answers

What do Tests (non)regression verify?

<p>Corrections or modifications n'ont pas eu d'impacts négatifs sur des parties non modifiées du code.</p> Signup and view all the answers

Tests ______ vs Non-Fonctionnels categorize and attribute to test.

<p>Fonctionnels</p> Signup and view all the answers

Classify the goal of black box testing

<p>White box = Couvrir la structure sous-jacente</p> Signup and view all the answers

Which is an important consideration for tests d'acceptation operationnelle?

<p>Exploitability (D)</p> Signup and view all the answers

In all cases the goal of black box testers is to verify the specifications?

<p>True (A)</p> Signup and view all the answers

Which is the final objective in black box testing?

<p>Specifications des exigences métier.</p> Signup and view all the answers

When there is a changements dans l'environnement then the test will be that of the ______ interfacés.

<p>logiciels</p> Signup and view all the answers

Select the the categories of models de développment based.

<p>RUP (Rational Unified Process) = Rapid Application Development</p> Signup and view all the answers

Flashcards

Prévention des défauts

Prévenir l'apparition de défauts dans le logiciel avant qu'ils ne surviennent.

Détection des défauts

Identifier les défauts et les défaillances qui existent dans le logiciel.

Acquisition de confiance

Augmenter la confiance dans le fonctionnement correct du logiciel.

Soutien à la décision

Fournir des informations clés aux parties prenantes pour les aider à prendre des décisions éclairées.

Signup and view all the flashcards

Réduction des risques

Diminuer la probabilité de dysfonctionnements du logiciel en production.

Signup and view all the flashcards

Amélioration de la qualité

Améliorer les caractéristiques du logiciel telles que la fiabilité, l'efficacité et la maintenabilité.

Signup and view all the flashcards

Débogage

Processus consistant à identifier et à corriger les défauts dans le code.

Signup and view all the flashcards

Définition d'une exigence

Une exigence décrit un besoin ou une capacité d'une partie prenante pour atteindre un objectif.

Signup and view all the flashcards

Exigence fonctionnelle

Une exigence qui décrit ce que le système doit faire.

Signup and view all the flashcards

Exigence non fonctionnelle

Exigence qui décrit comment le système doit fonctionner.

Signup and view all the flashcards

Norme ISO/IEC 25010

Norme définissant les caractéristiques de qualité d'un logiciel.

Signup and view all the flashcards

Défaut

Un défaut dans le code ou la documentation.

Signup and view all the flashcards

Défaillance

Un résultat incorrect de l'exécution d'un défaut.

Signup and view all the flashcards

Cause racine

Le déclencheur initial qui conduit à un défaut.

Signup and view all the flashcards

Effet

L'impact négatif qu'un défaut ou une défaillance a sur les utilisateurs.

Signup and view all the flashcards

Base de test

Informations essentielles utilisées pour concevoir et exécuter les tests.

Signup and view all the flashcards

Condition de test

Aspect spécifique de la base de test pour atteindre un objectif de test.

Signup and view all the flashcards

Processus de test

Ensemble des activités nécessaires pour planifier, concevoir, exécuter, évaluer et rapporter les tests.

Signup and view all the flashcards

Testware

Tout livrable créé et utilisé pour supporter le processus de test.

Signup and view all the flashcards

Oracle de test

Source fiable pour déterminer le résultat attendu d'un test.

Signup and view all the flashcards

Vérification

Vérification que le produit est conforme aux exigences.

Signup and view all the flashcards

Validation

Validation que le produit répond aux besoins des utilisateurs.

Signup and view all the flashcards

Tests et défauts

Ils démontrent la présence de défauts, mais ne peuvent prouver leur absence.

Signup and view all the flashcards

Tests exhaustifs

Il est impossible de tester toutes les combinaisons possibles d'entrées et de conditions.

Signup and view all the flashcards

Tests précoces

Détecter les défauts tôt réduit les coûts et les efforts de correction.

Signup and view all the flashcards

Regroupement de défauts

Les défauts ont tendance à se concentrer dans certaines zones du code.

Signup and view all the flashcards

Usure des tests

Les tests doivent être régulièrement mis à jour pour rester efficaces.

Signup and view all the flashcards

Contexte des tests

Les tests doivent être adaptés au contexte du projet.

Signup and view all the flashcards

Absence d'erreurs

Il est illusoire de penser qu'un logiciel est exempt d'erreurs.

Signup and view all the flashcards

Plan de test

Document de cadrage des activités de tests

Signup and view all the flashcards

Critères de début et de fin de test

Critères pour démarrer et terminer les tests.

Signup and view all the flashcards

Risques qualité

Risques identifiés liés à la qualité du logiciel

Signup and view all the flashcards

Risques projet

Risques identifiés liés au projet de test.

Signup and view all the flashcards

Rapports d'avancement et de synthèse

Communication régulière de l'état d'avancement des tests

Signup and view all the flashcards

Base de test

Base factuelle utilisée pour identifier les défauts.

Signup and view all the flashcards

Exigences de test

Représentation structurée des exigences à tester.

Signup and view all the flashcards

Actions correctives

Actions correctives prises lors des tests.

Signup and view all the flashcards

Cas de test

Description des étapes pour valider une fonctionnalité.

Signup and view all the flashcards

Study Notes

Fondamentaux & Processus de test

Plan du cours:

  • Objectifs et Principes des tests
  • Processus de test
  • Types de test
  • Niveaux de test
  • Le test dans le cycle de vie du développement logiciel SDLC
  • Outils de support aux tests

Objectifs du test

  • Prévenir les défauts.
  • Détecter les défauts et les défaillances.
  • Acquérir de la confiance.
  • Fournir les informations nécessaires aux parties prenantes pour faciliter leurs décisions (Go/NoGo).
  • Réduire le risque de dysfonctionnement.
  • Améliorer la qualité.

Test et débogage

  • Tester (Testeur) is different than Debugger (Developper).
  • Tester executes tests to cause defects/failures.
  • Debugger finds, analyzes, and fixes defects and verifies proper correction/absence of regression.
  • Person in agile can be developer and/or tester.

Pourquoi les tests sont-ils nécessaires ? : Qualité

  • Tests needed to to gain "Quality".
  • Ensure alignment of the developed product with business needs.

Pourquoi les tests sont-ils nécessaires ? : Coût/Délai

  • Cost of resolving anomaly depends whether it is found in Qualification, or after production.
  • The cost can range from 1 to 1000, depending on when it is discovered.
  • 56% of bugs come from the specification phase.

Définition des exigences

  • An requirement is a condition/capability needed by a stakeholder to solve a problem/objective.
  • It also must be a condition to which the solution/component must respond or possess to meet a norm.
  • Functional Requirement: relative to function that a system must fulfill (Que fait le système?).
  • Ex: Business Process, Functionality, Use Case, User Story, Rule Management.
  • Non-functional Requirement: relative to a constraint that the system must conform to (Comment est fait le système?).
  • Ex: Performance, Compatibility, Usability, Reliability, Security, Maintainability, Portability.

Caractéristiques Qualité Logiciel - norme ISO/IEC 25010

  • Adéquation Fonctionnelle: Complétude, Exactitude, Pertinence Fonctionnelle.
  • Performance: Temps de réponse, Utilisation des ressources, Capacité.
  • Compatibilité: Coexistence, Interopérabilité.
  • Capacité d'interaction (Utilisabilité): Reconnaissance de la pertinence, Apprentissage, Opérabilité, Protection against user errors.
  • Fiabilité: Maturité, Disponibilité, Robustesse, Récupérabilité.
  • Sécurité: Confidentialité, Intégrité, Rejet (non-rejet), Responsabilité, Authenticité.
  • Maintenabilité: Modularité, Réutilisabilité, Analysibilité, Facilité de Modification, Testabilité.
  • Flexibilité (Portabilité): Adaptabilité, Évolutivité, Facilité d'Installation, Facilité de Remplacement.
  • Sureté: Operational constraint, Risk identification, Integrated security, Danger alert, Integrated security.

Erreurs, défauts, défaillances et causes racine

  • Cause Racine: Erreur humaine.
  • Défaut: in the code or documentation of the underlying error.
  • Défaillance: result of running a defect in the code, causing system not functioning as expected.
  • Effet: Consequences, prejudice for the final user: dissatisfaction, damage, etc.

Définitions clés

  • Base de test: All knowledge used as a basis for test analysis and design.
  • Conditions de test: An aspect of the test basis that is useful for achieving goals (Quoi tester).
  • Testware: Products of activities during the test process used for planning, design, execution, evaluation, and reporting.
  • Oracle de test: A source for determing a result compared to system test's actual result.
  • Vérification: Product conformity versus objective specified requirements.
  • Validation: Product conformity to objective business needs.

Principes du test selon ISTQB

  • Les tests montrent la présence de défauts, pas leur absence It is not possible to show that a software contains no defects.
  • Les tests exhaustifs sont impossibles Select what to test and base the test on risks, priority, and test techniques.
  • Tester tôt économise du temps et de l'argent Discover defects early to prevent propagation and multiplication later.
  • Regroupement des défauts Defects are grouped into certain functional/technical modules, needing targeted effort.
  • Usure des tests Tests need renewal regularly to discover new defects.
  • Les tests dépendent du contexte The approach and objective of test must be adapted in context.
  • L'absence d’erreurs est une illusion Errors happen as a part of the project.

Processus de test

Description des activités de test

  • Planification:
    • Elaborate test plan.
    • Identify test starting/ending criteria.
    • Identify risks to quality.
  • Pilotage:
    • Realize and communicate progress.
    • Control good execution of plan and set up action items.
  • Analyse:
    • Read/review test base; identify defects to it.
    • Identify/structure test requirements.
    • Evaluate risks to quality and target effort.
  • Conception:
    • Conceive tests and charts.
    • Establish traceability between tests and conditions.
    • Identify data of requirements.
  • Implémentation:
    • Implement test suites and scripts.
    • Organize suites and scripts.
    • Enhance test data.
  • Execution:
    • Control checklist DoR of test.
    • Consign results of execution.
    • Control checklist DoD of test.
    • Formalize the PV of test.
  • Clôture:
    • Do retrospective.
    • Transfer testware.

Définition des Livrables de test

  • Plan de de test: Activity Document defining the test Objectives, Périmètre, test type, and organizations.
  • Référentiel de test Test: list of structured requirement Catalogue based from use cases.
  • Dossier de test: Organization of tests for execution.
  • Cahier de test: Test folder with results.
  • Liste des anomalies: List of anomalies detected.
  • CR de test: Report with execution results.
  • PV de Test: Formalized perimeter of all the effects.
  • Bilan de test: Quantitative/qualitative report in level.

Traçabilité entre base de test et testware

  • Le pilotage des tests repose sur la traçabilité qui permet
    • L'analyse de l'impact des changements
    • L'audit des tests
    • La satisfaction des critères de gouvernance IT
    • La génération de rapports compréhensibles par différents profils techniques ou métier
    • L'apport d'information pour évaluer la qualité du produit et l'efficacité du processus.

Rôles dans le test

  • Planification des tests
  • Pilotage et contrôle des tests
  • Analyse des tests
  • Conception des tests
  • Implémentation des tests
  • Exécution des tests
  • Clôture des tests

Compétences génériques requises pour le test

  • Connaissance en matière de test: Understands certification, techniques.
  • Rigueur, attention, curiosité, souci du détail, méthode: Reviews document for orthography, consistency, and accuracy.
  • Bonne communication, écoute active, esprit d'équipe: Participates in daily meetings.
  • Réflexion analytique, esprit critique, créativité: Helps with product criteria.
  • Connaissances techniques: Development practices
  • Connaissance du domaine: Expertise in applicable domain

Types de test

Introduction

  • Tests can be different, with different types
  • Que fait le système? -> Le test fonctionnel, Le test boîte noire
  • Comment est fait le système? -> Le test non fonctionnel, Le test boîte blanche

Test Fonctionnel

  • Evaluent les fonctions à réaliser
  • Effectués à tous les niveaux
  • Measure the functional coverage (coverage of the specifications)
  • Vérifie - la complete functionalité - -exactitude fonctionelle -l'adéquation fonctionelle
  • Nécessitent generalement - Metier

Test Non-Fonctionnel

  • Evaluent the system/how it behaves.
  • Effectués à tous les niveaux
  • Measure of non-fonctionnelle -performance, securite

Tests

  • functional vs. Non-Fonctionnels
  • Tests d'Adéquation Fonctionnelle
  • Tests de Performance
  • Tests de Compatibilité
  • Tests de Capacité d'interaction
  • Tests de Fiabilité
  • Tests de Sécurité
  • Tests de Maintenabilité
  • Tests de Flexibilité
  • Tests de Sureté

Test boîte noire

  • Vérifier le comportement du système par rapport à ses spécifications.
  • Spécifications des exigences métier, User Stories, Functional Specifications
  • Partition d'équivalence, Valeurs limites, Classification par arborescence,
  • Tous levels

Test boîte blanche

  • It is based on the structure and derive the tests of the implementation or of the structure interne du système Objectif principal:
  • Documentation and information sur le code, l'architecture, les flux métier et les flux de données Couverture des Instruction, Branches et Chemins
  • Tous

Tests liés aux changements

Vérification or corrections.

Tests de maintenance

  • Facteurs déclencheurs Changements du système lui-même:
  • Correction • Nouvelles fonctionnalités • Modification de paramétrage Changements dans l'environnement • Sustêmes d'exploitation Bases de données et migrations de données Logiciels interfacés Retrait / Déclassement (application en fin de vie) • tests de la migration ou de l'archivage des données

Niveaux de test

Levels of test

  • Test de composants (isolate components).
  • Test d'intégration de composants (interfaces and integrations).
  • Test système (capacities and behaviors).
  • Test d'acceptation (validation demonstration).

Test de Composants (ou Tests Unitaires)

  • Reduce and verify specs and prevernt.

Test d'Intégration

  • components or subsystems and verifies.

Test Système

  • Global end to end behavior of the product

Test d'Acceptation

  • Establishes confidences and validatw the system.

Différentes formes de test d'acceptation

  • Tests d'acceptation utilisateur.
  • Tests d'acceptation opérationnelle.
  • Tests d'acceptation contractuelle et réglementaire.
  • Tests alpha et bêta.

Catégories de modèles de développement

Modèles séquentiels Cascade Modèles en V Modèles en W

  • Modèles itératifs ou incrémentaux RAL RUP
  • Modèles agiles XP Scrumb DevOps Le dernier cycle permet de développer la version finale

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

Related Documents

More Like This

Test and Debugging Process
7 questions

Test and Debugging Process

SensitiveIndicolite avatar
SensitiveIndicolite
Fundamentals of Testing Chapter 1 Quiz
20 questions
Use Quizgecko on...
Browser
Browser