SlideShare une entreprise Scribd logo
1  sur  56
Télécharger pour lire hors ligne



   


 
 

 
   
 
 
 
 
 






   

• 
• 
• 





 



   




































   

























• 
• 
• 
• 

   
• 
•  

 
   
 




   

 
 


  

   

      












 

 
 

1
2
1
…
   




2
1
3
4
5
6
2
1
3
…

 

 


   
 


 


   



• 
• 
• 
   

• 
• 
• 


   



   




   


 
 
   





• 



   
• 
• 
• 
• 



• 
• 
• 
   


• 
• 






   








   










   










   







   





• 
• 


• 
• 
   
• 
• 
• 
• 


• 


• 

   


• 
• 
• 
• 

   


 





   






 




 
   






  te
Test Script
Execution
Protocol
   







public class Discount {
// Calculation Discount depending
// on the size of the order
// Business Rules:
// amount < 0: Exception
// 0 <= amount < 100: No discount
// amount > 1000: 5% discount



   
public double getDiscount(double amount) {
…
}
}








read
   







write
   



/*
* @author Rick Mugridge 6/12/2003
* Copyright (c) 2003 Rick Mugridge, University of Auckland, NZ
* Released under the terms of the GNU General Public License version 2 or later.
*/
public class CalculateDiscount
extends fit.ColumnFixture {
public double amount;


   
public double amount;
private Discount application = new Discount();
public double discount() {
return application.getDiscount(amount);
}
}

   

   






 

 

   




 
 
   




   





 


   


   

 


 
  
 

   

 

   


 

 
   

 

 

 

 
 
–  

   





 
 
 
 
 

   
 
  
  
 
 
 


 

 
  
!define x {1} 
   
!define x {1} 




 



• 
• 
•  
• 
• 
   



• 
• 
– 
• 
– 
– 
– 
   
– 


• 

• 

• 
   
•
 
• 

• 

• 

•



• 

• 

• 

   






• 
– 
• 
   
• 
– 
• 
– 
– 
– 


• 





   

• 




- 
 

  

 
   
 




   

   



Contenu connexe

En vedette

Evaluation question 6
Evaluation question 6Evaluation question 6
Evaluation question 6
Gjasta
 
Compiler for Zero-Knowledge Proof-of-Knowledge Protocols
Compiler for Zero-Knowledge Proof-of-Knowledge ProtocolsCompiler for Zero-Knowledge Proof-of-Knowledge Protocols
Compiler for Zero-Knowledge Proof-of-Knowledge Protocols
Thomas Briner
 
Electronic Voting in the Standard Model
Electronic Voting in the Standard ModelElectronic Voting in the Standard Model
Electronic Voting in the Standard Model
Thomas Briner
 

En vedette (9)

Cnr Global Business Profile V2.8
Cnr Global Business Profile V2.8Cnr Global Business Profile V2.8
Cnr Global Business Profile V2.8
 
Evaluation question 6
Evaluation question 6Evaluation question 6
Evaluation question 6
 
Cnr global business profile v2.8
Cnr global business profile v2.8Cnr global business profile v2.8
Cnr global business profile v2.8
 
Aplicatia word
Aplicatia wordAplicatia word
Aplicatia word
 
Compiler for Zero-Knowledge Proof-of-Knowledge Protocols
Compiler for Zero-Knowledge Proof-of-Knowledge ProtocolsCompiler for Zero-Knowledge Proof-of-Knowledge Protocols
Compiler for Zero-Knowledge Proof-of-Knowledge Protocols
 
Electronic Voting in the Standard Model
Electronic Voting in the Standard ModelElectronic Voting in the Standard Model
Electronic Voting in the Standard Model
 
joc didactic basmul
joc didactic basmuljoc didactic basmul
joc didactic basmul
 
Jurnaltaramadhanftth
JurnaltaramadhanftthJurnaltaramadhanftth
Jurnaltaramadhanftth
 
Jurnaltajames
JurnaltajamesJurnaltajames
Jurnaltajames
 

Plus de Thomas Briner

5-Systemtest-Automatisierung_20160519
5-Systemtest-Automatisierung_201605195-Systemtest-Automatisierung_20160519
5-Systemtest-Automatisierung_20160519
Thomas Briner
 
4-Testcasedesign_20160519
4-Testcasedesign_201605194-Testcasedesign_20160519
4-Testcasedesign_20160519
Thomas Briner
 
3-UnitTesting_20160518
3-UnitTesting_201605183-UnitTesting_20160518
3-UnitTesting_20160518
Thomas Briner
 
1-Intro-2-ET_20160516
1-Intro-2-ET_201605161-Intro-2-ET_20160516
1-Intro-2-ET_20160516
Thomas Briner
 
Mobile Computing für die öffentliche Hand: Durchstarten ohne Bruchlandung
Mobile Computing für die öffentliche Hand: Durchstarten ohne BruchlandungMobile Computing für die öffentliche Hand: Durchstarten ohne Bruchlandung
Mobile Computing für die öffentliche Hand: Durchstarten ohne Bruchlandung
Thomas Briner
 
Tour d'horizon Mobile Computing: Vom Hype zum Werkzeug - Mobile Computing im ...
Tour d'horizon Mobile Computing: Vom Hype zum Werkzeug - Mobile Computing im ...Tour d'horizon Mobile Computing: Vom Hype zum Werkzeug - Mobile Computing im ...
Tour d'horizon Mobile Computing: Vom Hype zum Werkzeug - Mobile Computing im ...
Thomas Briner
 

Plus de Thomas Briner (12)

5-Systemtest-Automatisierung_20160519
5-Systemtest-Automatisierung_201605195-Systemtest-Automatisierung_20160519
5-Systemtest-Automatisierung_20160519
 
4-Testcasedesign_20160519
4-Testcasedesign_201605194-Testcasedesign_20160519
4-Testcasedesign_20160519
 
3-UnitTesting_20160518
3-UnitTesting_201605183-UnitTesting_20160518
3-UnitTesting_20160518
 
1-Intro-2-ET_20160516
1-Intro-2-ET_201605161-Intro-2-ET_20160516
1-Intro-2-ET_20160516
 
Perfect Forward Secrecy - Next Step in Information Security
Perfect Forward Secrecy - Next Step in Information SecurityPerfect Forward Secrecy - Next Step in Information Security
Perfect Forward Secrecy - Next Step in Information Security
 
Mobile Computing für die öffentliche Hand: Durchstarten ohne Bruchlandung
Mobile Computing für die öffentliche Hand: Durchstarten ohne BruchlandungMobile Computing für die öffentliche Hand: Durchstarten ohne Bruchlandung
Mobile Computing für die öffentliche Hand: Durchstarten ohne Bruchlandung
 
Mobile Prozesse in der Verwaltung – mehr als nur Apps und Devices
Mobile Prozesse in der Verwaltung – mehr als nur Apps und DevicesMobile Prozesse in der Verwaltung – mehr als nur Apps und Devices
Mobile Prozesse in der Verwaltung – mehr als nur Apps und Devices
 
Tour d'horizon Mobile Computing: Vom Hype zum Werkzeug - Mobile Computing im ...
Tour d'horizon Mobile Computing: Vom Hype zum Werkzeug - Mobile Computing im ...Tour d'horizon Mobile Computing: Vom Hype zum Werkzeug - Mobile Computing im ...
Tour d'horizon Mobile Computing: Vom Hype zum Werkzeug - Mobile Computing im ...
 
Testgetriebene Datenmigration
Testgetriebene DatenmigrationTestgetriebene Datenmigration
Testgetriebene Datenmigration
 
Mobile Computing verlangt nach neuen Denkansätzen
Mobile Computing verlangt nach neuen DenkansätzenMobile Computing verlangt nach neuen Denkansätzen
Mobile Computing verlangt nach neuen Denkansätzen
 
Sicherheit im Mobile Computing
Sicherheit im Mobile ComputingSicherheit im Mobile Computing
Sicherheit im Mobile Computing
 
Überleben als embedded Tester im Scrum Team - SwissTestingDay 2012
Überleben als embedded Tester im Scrum Team - SwissTestingDay 2012Überleben als embedded Tester im Scrum Team - SwissTestingDay 2012
Überleben als embedded Tester im Scrum Team - SwissTestingDay 2012
 

System Test Automation