Software Testing Software testing.

Slides:



Advertisements
Lignende præsentationer
Kvalitet i systemudvikling
Advertisements

Overskrift her Navn på oplægsholder Navn på KU- enhed For at ændre ”Enhedens navn” og ”Sted og dato”: Klik i menulinjen, vælg ”Indsæt” > ”Sidehoved / Sidefod”.
Test First Development
Krav og usecases Larman kap. 5 og 6 (del1) Larman kap del1
Tekst starter uden punktopstilling For at få punkt- opstilling på teksten, brug forøg indrykning For at få venstre- stillet tekst uden punktopstilling,
Magtteori I 7. September 2005.
Overskrift her Navn på oplægsholder Navn på KU- enhed For at ændre ”Enhedens navn” og ”Sted og dato”: Klik i menulinjen, vælg ”Indsæt” > ”Sidehoved / Sidefod”.
Litteratursiden / forfattere / anmeldelser / analyser / lister / temaer / læseklubber / video / brugere Digital communication of performance literature.
Beskyt & bevar kontrol med information CRM LOB ERP Find information, viden & øget indsigt i forretning Enklere samarbejde mellem mennesker Reducerede.
Peter Mikkelsen Med arbejdsglæde til top præstationer.
Teamwork En praksisnær øvelse.
Agenda 1.Informationer 1.Excel i fb.m. projekt 2 2.Reserver tid til projekt 2 3.Øvelse: a / b = c 2.Opsamling fra sidst 3.Estimation (konfidensintervaller)
For at ændre ”Enhedens navn” og ”Sted og dato”: Klik i menulinjen, vælg ”Indsæt” > ”Sidehoved / Sidefod”. Indføj ”Sted og dato” i feltet for dato og ”Enhedens.
Stil og smag John Paulin Hansen WEB 1, ITU, marts 2000.
Simulation og computerspil Selv-referentialitet og computerspil Bo Kampmann Walther
Software test I ITU: Usability med projekt Brugercentreret design, for å r v/ Egil Boisen.
1 QA and user research
Electric power is electric particles moving through metal, semiconductor or graphite and special fluids (electrolysis). Some kind of gas are able to conduct.
Aalborg University – Department of Production Introduction to Industry Foundation Classes (IFC) Kaj A. Jørgensen Aalborg Universitet, Institut for Produktion.
Critical appraisal ” All scientific work is incomplete – whether it be observational or experimental. All scientific work is liable to be upset or modified.
CORBA/e CORBA and Embedded Systems OOMI 27. November 2006.
Institut for Sprog, Kultur og Æstetik Engelsk, semester, Tekstanalyse og -historie Jens Kirk Session One: "An Introduction to the Analysis,
Informationssøgning Eksempler på nyttige hjemmesider.
Forretning og Ledelse – Lektion 7
Usability ITU, forår 2008 Usability ITU Forår 2008 ’Teori 2’ 3. kursusgang, 14. februar 2008.
Velkommen Vi starter kl Hvis du vil vide mere om Microsoft BI... Spørg en af os ved standen i foyéen Se kursustilbud og data sheet i din deltagermappe.
Kjeld Svidt  Institut for Byggeri og Anlæg  Aalborg Universitet IT i Byggeriet Semester 6, kursusgang Databaser (1) Kjeld Svidt
Interview service in Statistics Denmark Structure and Surveys.
3. time Her beskæftiger vi os med John F. Sowas forklaring af erfaringsviden. John F. Sowa.
DB analyse og modellering Jesper Tørresø DAB1 F Februar 2008.
Slides for: Software requirements - Styles and techniques Soren Lauesen 6. Quality requirements January 2007 © 2002, Pearson Education retains the copyright.
OPERATIONEL ANALYSE AF WEBADFÆRD OAW – LEKTIONSGANG 4.
Project Management Managing The Progress of Projects.
DIEB10.1 Kursusgang 10 Oversigt: Sidste kursusgang Eksempler på løsning af opgaven Arkitektur for brugergrænsefladen og for systemet Dokumentation af designet.
Projektledelse Projektledelse og Produktion af Digitalt Indhold (DPI) Projektledelse Projektledelse og Produktion af Digitalt Indhold (DPI) Session 11.
Overskrift her Navn på oplægsholder Navn på KU- enhed For at ændre ”Enhedens navn” og ”Sted og dato”: Klik i menulinjen, vælg ”Indsæt” > ”Sidehoved / Sidefod”.
 Jens Bennedsen 2002Objektorienteret systemudvikling GRASP mønstre Basale ansvarsplaceringsregler.
IT-Universitetet i København Rued Langgaardsvej 7 DK-2300 København S ESP-Net The ESP Company Network Yvonne Dittrich IT-University in Copenhagen Software.
ANALYSE AF WEBADFÆRD - OAW OAW – LEKTIONSGANG 4. ANALYSE AF WEBADFÆRD - OAW SUMMARY, LECTURE 3 (Extended) Common Log File Format Host, Ident, Authuser,
Opdragsgiver Planlægning og udførelse af møde med jeres opdragsgiver.
Learning Set 3 : Lesson 1 : Slide 1 Proteins Move Based on Size lactase tyrosinase.
“Planning the agenda for teaching and learning Danish - 1. And 2. grade”
Mikkel deMib Svendsen Duplicate Content & Multiple Site Issue Mikkel deMib Svendsen
EERA Design Tool for Offshore wind farm Cluster (DTOC) Peter Hauge Madsen. Director Charlotte Hasager. Senior scientist DTU Wind Energy Support by EERA.
Omsætning af en model til en RDB Jesper Tørresø DAB1 F Marts 2008.
Skift Typografi Marker tekst og klik TAB for at hoppe til næste typografi Klik SHIFT + TAB for at hoppe tilbage i typografierne 1. OVERSKRIFT 2. UNDEROVERSKRIFT.
1 (c) W. J. Dally Digital Design: A Systems Approach Lecture 12: Timing.
Indsæt nyt billede: Format: B 254 x 190,5 mm Efter indsættelse, højreklik på billedet og placér det bagerst. Delete det gamle foto Geodata for Everyone.
1 Løbssystem Beregnersystem i baseret på VBA i Excel har været velfungerende, men ressourcer til vedligholdelse og løbende opdateringer bliver mere og.
Ledende oversygeplejerske Arne Brehm Høj Afdeling for Operation og Anæstesiologi Sydvestjysk Sygehus.
THE PARADOX OF NORMALITY – THE RETURN OF NORMALCY AND ITS CONSEQUENCES (NORMALITETENS PARADOKS – NORMALITETENS GENKOMST OG DENS KONSEKVENSER) Dr. Anders.
THE MENTORING JOURNEY.
Drug/Device Combination Products IFF erfagruppemøde
SCALE-UP DENMARK Tue David Bak Direktør, Innovation & Vækst, Region Sjælland & Formand for Scale-Up Denmark Thank you to the Ambassador, Mrs Louise Jespersen.
Forskningstræning: Fra evidens til guidelines
Dorte, Ida, Janne, Nikolaj, Alexander og Erla
Completing secondary education
DB analyse og modellering
Sense My City Develco A/S.
Quality Factors.
Compositional Design Principles “SemiCiv”
MaaS i Europe Rasmus Lindholm.
Alternative fuels for HDV - Perspectives from the Danish Energy Agency
why this period? why not the same as for the international strategy
Hot work Planning: 01.Februar 2008 Outdoor: 01.Februar 2008
An IP Strategy comprises
Modtagelse er fortolkning
Ændring af IR M&R Styrelsen for Dataforsyning og Effektivisering
FEANTSA Policy Conference – May 31st 2019
WiseFlow En introduktion i anvendelsen af Wiseflow
Præsentationens transcript:

Software Testing Software testing

Kvalitets faktorer Product Revision Product Transition Portability kan det køre på andre platforme Reusability kan jeg genbruge dele af SW Interoperability kan det kobles til andre systemer Product Operation Product Revision Product Transition Maintability Kan jeg rette i det Flexsability Kan det ændres Testability Kan det testes Correctness Gør vi det rigtigt Reliability Gør vi det nøjagtigt hele tiden Efficiency Kører det optimalt på min HW Integrity Er det sikkert Usability Kan jeg køre det (brugervenligt)

V model Software testing

Program testing goals To demonstrate to the developer and the customer that the software meets its requirements. => leads to validation testing To discover situations in which the behavior of the software is incorrect, undesirable or does not conform to its specification. => leads to defect testing Software testing

Verification vs validation Verification: (testing) "Are we building the product right”. The software should conform to its specification. Validation: (checking) "Are we building the right product”. The software should do what the user really requires. Software testing

V model Software testing

Different levels of testing related to the V-model Verify the concepts and requirements e.g. Are the domain model right? The use cases? (the users) Verify the design e.g. design class diagrams and design sequence diagrams (Reviews, Technical walkthrough by the project team) Component Validation e.g. unit test and test cases (implementer) System and integration validation e.g. system/integration test Operation Validation e.g. acceptance test Software testing

Software testing

Software testing

Black box testing The system code is ‘unknown’ -> a black box Look only at the methods signatures Testing all kind of possible input and output In C# create a Unit Test Software testing

Equivalence partitioning Software testing

Equivalence partitions Software testing

Test-driven development Test-driven development (TDD) is an approach to program development in which you inter-leave testing and code development. Tests are written before code and ‘passing’ the tests is the critical driver of development. You develop code incrementally, along with a test for that increment. You don’t move on to the next increment until the code that you have developed passes its test. TDD was introduced as part of agile methods such as Extreme Programming. However, it can also be used in plan-driven development processes. Software testing

Test-driven development Software testing

Unit test in c# Console Programs App Programs Create a test unit project, Add reference to the project, Remember to have the class to be tested public. (in resharper set cursor at the class – right click choose generate unit test) Make a test method for each test case App Programs Create a unit test app (universal windows), Software testing

What can we do in in a test unit Annotations [TestClass] : set up the test [TestMethod ] : This is a test method to be run [TestInitialize] : Run this before each test method Testing validation Assert.AreEqual( expected, actual) Assert.IsTrue(actual) Software testing

Special for exception Console programs App programs Make try – catch : NB! The catch is ok = green Try{ Call method; Assert.Fail(); Catch{ //Ok } Alternative make an annotation [ExpectedException typeof (xxxException) ] App programs Assert.ThrowsException<xxxException>( () => call method) Software testing