SlideServe
Menu
Préférences
© SlideServe · v2026

11425 Software Engineering

mostyn avatar
13 diapositives · 345 Views · Jul 10, 2014

11425 Software Engineering. Extreme Programming February 28, 2012. Sommerville , I., Software Engineering, Pearson, 9 th Ed., 2010. Overview. Extreme programming Testing in XP Pair programming. Extreme Programming.

11425 Software Engineering - slide 1
01 / 1311425 Software Engineering
1 / 17

Télécharger la présentation

11425 Software Engineering
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. 11425 Software Engineering Extreme Programming February 28, 2012 Sommerville, I., Software Engineering, Pearson, 9th Ed., 2010.

  2. Overview • Extreme programming • Testing in XP • Pair programming

  3. Extreme Programming • Extreme programming (XP) is perhaps the best known and most widely used of the agile methods • Extreme Programming (XP) takes an ‘extreme’ approach to iterative development. • New versions may be built several times per day • Increments are delivered to customers every 2 weeks • All tests must be run for every build and the build is only accepted if tests run successfully

  4. XP Release Cycle

  5. XP Practices (1/2)

  6. XP Practices (2/2)

  7. Requirements Scenarios • In XP, requirements are expressed as scenarios (called user stories), which are implemented directly as a series of tasks • The story cards are the main inputs to the XP planning process, or the ‘planning game’. • The development team breaks the cards down into implementation tasks. These tasks are the basis of schedule and cost estimates. • The customer chooses the stories for inclusion in the next release based on their priorities and the schedule estimates.

  8. A ‘Prescribing Medication’ Story

  9. Task Cards

  10. Testing in XP • Testing is central to XP and XP has developed an approach where the program is tested after every change has been made. • XP testing features: • Test-first development. • Incremental test development from scenarios. • User involvement in test development and validation. • The use of automated testing frameworks (e.gJUnit) • Write the test before you write the code

  11. Test Case Description for Dose Checking

  12. XP Testing Difficulties • Programmers prefer programming to testing and sometimes they take short cuts when writing tests. • Some tests can be very difficult to write incrementally. • It is difficult to judge the completeness of a set of tests.

  13. Pair Programming • In XP, programmers work in pairs, sitting together to develop code. • This helps develop common ownership of code and spreads knowledge across the team. • It serves as an informal review process as each line of code is looked at by more than 1 person. • It encourages refactoring as the whole team can benefit from this.