SlideShare ist ein Scribd-Unternehmen logo
1 von 12
Downloaden Sie, um offline zu lesen
Calculator Stories
  dhaval.dalal@software-artisan.com

          @softwareartisan
Story #1
  As an Accountant

  I want to add two numbers

  so that I can see what the total is


Acceptance Criteria
  Given I have two numbers 2 and 3

  When I add them

  Then I should see the sum as 5
Story #2
  As an Accountant

  I want to subtract two numbers

  so that I can see what the difference between them is


Acceptance Criteria
  Given I have two numbers 2 and 3

  When I subtract them

  Then I should see the difference as -1
Story #3
  As an Accountant
  I want to divide two numbers
  so that I can know the quotient

Acceptance Criteria #1
  Given I have two numbers 2 and 3
  When I divide them
  Then I should see the quotient as 0.666666


Acceptance Criteria #2
  Given I have two numbers 2 and 0
  When I divide them
  Then I should see the quotient as ‘Infinity’
Story #4
  As an Accountant

  I want to multiply two numbers

  so that I can see what their product is


Acceptance Criteria
  Given I have two numbers 2 and 3

  When I multiply them

  Then I should see the product as 6
Story #5
  As an Accountant
  I want to toggle the sign of numbers
  so that I can reverse them at will

Acceptance Criteria #1
  Given I have number 2
  When I press the toggle key (‘+/-’)
  Then I should see -2 on the display

Acceptance Criteria #2
  Given I have number -2
  When I press the toggle key (‘+/-’)
  Then I should see 2 on the display
Story #6
  As an Accountant
  I want to delete a wrongly entered digit
  so that I can correct the number to input.

Acceptance Criteria #1
  Given I have pressed keys 2, 3, 4
  When I press the backspace key
  Then I should see 23 on the display

Acceptance Criteria #2
  Given I have pressed a key 2
  When I press the backspace key
  Then I should see ‘0’ on the display
Story #7
  As an Accountant

  I want to store number in memory

  so that I can use it later

Acceptance Criteria #1
  Given I press ‘2’ on the keypad

  When I press ‘M in’ key

  Then the number 2 should be stored in memory

  and the status bar on the display should show ‘M’

  and the display should show ‘0’ to indicate that the
  calculator is ready for next operation
Acceptance Criteria #2
  Given that the status bar on the display shows ‘M’

  When I recall the number by pressing the ‘R-CM’ key

  Then I should see the originally stored number on the
  display

  and be able to use that number for any operation.
Story #8
  As an Accountant

  I want to reset the calculator

  so that I can start afresh


Acceptance Criteria #1
  Given I am in middle of an operation

  When I press ‘CE’ (Clear Everything) key

  Then the operation should be cancelled

  and the display should show ‘0’ to indicate that the
  calculator is ready for next operation.
Acceptance Criteria #2
  Given that the display status bar on the display shows
  ‘M’

  When I press ‘CE’ (Clear Everything) key

  Then I memory should be cleared

  and the display status bar should not show ‘M’

  and the display should show ‘0’ to indicate that the
  calculator is ready for next operation
Story #9
  As an Accountant

  I want to store operations in memory

  so that I can recall them to see the steps that resulted in
  the final answer

Acceptance Criteria
  Given I have performed two operations
     2 * 3 = 6 and 6 + 3 = 9

  When I replay the operations by pressing the step key

  Then I should see the following on the display in order
     Upon pressing the ‘Step’ key once I should see 2 * 3 = 6

     Upon pressing the ‘Step’ key again, I should see 6 + 3 = 9

Weitere Àhnliche Inhalte

Was ist angesagt?

Advanced voucher entry tutorial in Tally ERP 9
Advanced voucher entry tutorial in Tally ERP 9Advanced voucher entry tutorial in Tally ERP 9
Advanced voucher entry tutorial in Tally ERP 9Accounts Arabia
 
Introduction to Tally Prime.pptx
Introduction to Tally Prime.pptxIntroduction to Tally Prime.pptx
Introduction to Tally Prime.pptxArunChauhan18
 
F 03 gl manual account clearing
F 03 gl manual account clearingF 03 gl manual account clearing
F 03 gl manual account clearingFarooq Wangde
 
Accounting Concepts And Accounting Entries In Oracle V1.0
Accounting Concepts And Accounting Entries In Oracle V1.0Accounting Concepts And Accounting Entries In Oracle V1.0
Accounting Concepts And Accounting Entries In Oracle V1.0Mahmoud Fawzy
 
Oracle R12 Multi org ivas
Oracle R12 Multi org ivasOracle R12 Multi org ivas
Oracle R12 Multi org ivasAli Ibrahim
 
R12:Payment Process Request (PPR)
R12:Payment Process Request (PPR)R12:Payment Process Request (PPR)
R12:Payment Process Request (PPR)lingaswamy vallapu
 
Odoo Accounting Features
Odoo Accounting FeaturesOdoo Accounting Features
Odoo Accounting FeaturesCeline George
 
Maximize your discounts in oracle payables
Maximize your discounts in oracle payablesMaximize your discounts in oracle payables
Maximize your discounts in oracle payablesPavan B
 
Point of sale (po s) in tally erp 9
Point of sale (po s) in tally erp 9Point of sale (po s) in tally erp 9
Point of sale (po s) in tally erp 9Accounts Arabia
 
Accounts payable-notes
Accounts payable-notesAccounts payable-notes
Accounts payable-notesRangabashyam S
 
SAP CO step by step config guide & user manual part 1
SAP CO step by step config guide & user manual part 1SAP CO step by step config guide & user manual part 1
SAP CO step by step config guide & user manual part 1Srinivas Kasireddy
 
Cash management configue doc v1
Cash management   configue doc v1Cash management   configue doc v1
Cash management configue doc v1Hari Krishna
 
PO Position Hierarchy in R12
PO Position Hierarchy in R12PO Position Hierarchy in R12
PO Position Hierarchy in R12parinay jain
 
R12 revenue recognition_oaug
R12 revenue recognition_oaugR12 revenue recognition_oaug
R12 revenue recognition_oaugSurya Maddiboina
 
Oracle General Ledger
Oracle General LedgerOracle General Ledger
Oracle General LedgerDock Den
 
Electronic bank statement in SAP FI
Electronic bank statement in SAP FIElectronic bank statement in SAP FI
Electronic bank statement in SAP FIVenkataramani Gopalan
 

Was ist angesagt? (20)

Advanced voucher entry tutorial in Tally ERP 9
Advanced voucher entry tutorial in Tally ERP 9Advanced voucher entry tutorial in Tally ERP 9
Advanced voucher entry tutorial in Tally ERP 9
 
Introduction to Tally Prime.pptx
Introduction to Tally Prime.pptxIntroduction to Tally Prime.pptx
Introduction to Tally Prime.pptx
 
F 03 gl manual account clearing
F 03 gl manual account clearingF 03 gl manual account clearing
F 03 gl manual account clearing
 
Accounting Concepts And Accounting Entries In Oracle V1.0
Accounting Concepts And Accounting Entries In Oracle V1.0Accounting Concepts And Accounting Entries In Oracle V1.0
Accounting Concepts And Accounting Entries In Oracle V1.0
 
Oracle R12 Multi org ivas
Oracle R12 Multi org ivasOracle R12 Multi org ivas
Oracle R12 Multi org ivas
 
R12:Payment Process Request (PPR)
R12:Payment Process Request (PPR)R12:Payment Process Request (PPR)
R12:Payment Process Request (PPR)
 
Odoo Accounting Features
Odoo Accounting FeaturesOdoo Accounting Features
Odoo Accounting Features
 
E-Business Tax Purchasing Whitepaper
E-Business Tax Purchasing WhitepaperE-Business Tax Purchasing Whitepaper
E-Business Tax Purchasing Whitepaper
 
Maximize your discounts in oracle payables
Maximize your discounts in oracle payablesMaximize your discounts in oracle payables
Maximize your discounts in oracle payables
 
Point of sale (po s) in tally erp 9
Point of sale (po s) in tally erp 9Point of sale (po s) in tally erp 9
Point of sale (po s) in tally erp 9
 
Accounts payable-notes
Accounts payable-notesAccounts payable-notes
Accounts payable-notes
 
SAP CO step by step config guide & user manual part 1
SAP CO step by step config guide & user manual part 1SAP CO step by step config guide & user manual part 1
SAP CO step by step config guide & user manual part 1
 
Cash management configue doc v1
Cash management   configue doc v1Cash management   configue doc v1
Cash management configue doc v1
 
PO Position Hierarchy in R12
PO Position Hierarchy in R12PO Position Hierarchy in R12
PO Position Hierarchy in R12
 
oracle ebs-r12-advanced-collections-ppt.pptx
oracle ebs-r12-advanced-collections-ppt.pptxoracle ebs-r12-advanced-collections-ppt.pptx
oracle ebs-r12-advanced-collections-ppt.pptx
 
R12 revenue recognition_oaug
R12 revenue recognition_oaugR12 revenue recognition_oaug
R12 revenue recognition_oaug
 
Oracle General Ledger
Oracle General LedgerOracle General Ledger
Oracle General Ledger
 
Ach payment configuration
Ach payment configurationAch payment configuration
Ach payment configuration
 
Electronic bank statement in SAP FI
Electronic bank statement in SAP FIElectronic bank statement in SAP FI
Electronic bank statement in SAP FI
 
Accruals and accounting
Accruals and accountingAccruals and accounting
Accruals and accounting
 

Ähnlich wie Calculator stories

Assignment 1 Visual Basic Calculator
Assignment 1 Visual Basic CalculatorAssignment 1 Visual Basic Calculator
Assignment 1 Visual Basic Calculatordnbsystems
 
Cornus Technology User Manual
Cornus Technology User ManualCornus Technology User Manual
Cornus Technology User ManualLynette Ho
 
OfficeCentral manual-en-PointofSales-v3 r5
OfficeCentral manual-en-PointofSales-v3 r5OfficeCentral manual-en-PointofSales-v3 r5
OfficeCentral manual-en-PointofSales-v3 r5venturesmarketing
 
C:\Users\Degree\Desktop\Instructions
C:\Users\Degree\Desktop\InstructionsC:\Users\Degree\Desktop\Instructions
C:\Users\Degree\Desktop\InstructionsLouis Jimenez
 
Advanced accounting in Tally ERP 9
Advanced accounting in Tally ERP 9Advanced accounting in Tally ERP 9
Advanced accounting in Tally ERP 9Accounts Arabia
 
OfficeCentral User Manual for Point of Scale (English) V1R1
OfficeCentral User Manual for Point of Scale (English) V1R1OfficeCentral User Manual for Point of Scale (English) V1R1
OfficeCentral User Manual for Point of Scale (English) V1R1venturesmarketing
 
910m30manenglish
910m30manenglish910m30manenglish
910m30manenglishyunusd1
 
Calculator 4
Calculator 4Calculator 4
Calculator 4livecode
 
April's Garden Procedures and policies manual
April's Garden Procedures and policies manualApril's Garden Procedures and policies manual
April's Garden Procedures and policies manualLinnea Barnett
 
Peachtree complete instructions
Peachtree complete instructionsPeachtree complete instructions
Peachtree complete instructionsteferi kassa
 
Peachtree complete instructions
Peachtree complete instructionsPeachtree complete instructions
Peachtree complete instructionsDreams Design
 
Computerised Accounting(Chart of Accounts)
Computerised Accounting(Chart of Accounts)Computerised Accounting(Chart of Accounts)
Computerised Accounting(Chart of Accounts)Hammad Nangiana
 

Ähnlich wie Calculator stories (17)

Assignment 1 Visual Basic Calculator
Assignment 1 Visual Basic CalculatorAssignment 1 Visual Basic Calculator
Assignment 1 Visual Basic Calculator
 
Cornus Technology User Manual
Cornus Technology User ManualCornus Technology User Manual
Cornus Technology User Manual
 
OfficeCentral manual-en-PointofSales-v3 r5
OfficeCentral manual-en-PointofSales-v3 r5OfficeCentral manual-en-PointofSales-v3 r5
OfficeCentral manual-en-PointofSales-v3 r5
 
TimmyMe TestCase
TimmyMe TestCaseTimmyMe TestCase
TimmyMe TestCase
 
Instructions
InstructionsInstructions
Instructions
 
C:\Users\Degree\Desktop\Instructions
C:\Users\Degree\Desktop\InstructionsC:\Users\Degree\Desktop\Instructions
C:\Users\Degree\Desktop\Instructions
 
Elosimple manual
Elosimple manualElosimple manual
Elosimple manual
 
Advanced accounting in Tally ERP 9
Advanced accounting in Tally ERP 9Advanced accounting in Tally ERP 9
Advanced accounting in Tally ERP 9
 
OfficeCentral User Manual for Point of Scale (English) V1R1
OfficeCentral User Manual for Point of Scale (English) V1R1OfficeCentral User Manual for Point of Scale (English) V1R1
OfficeCentral User Manual for Point of Scale (English) V1R1
 
910m30manenglish
910m30manenglish910m30manenglish
910m30manenglish
 
6 advanced accounting
6 advanced accounting6 advanced accounting
6 advanced accounting
 
Calculator 4
Calculator 4Calculator 4
Calculator 4
 
April's Garden Procedures and policies manual
April's Garden Procedures and policies manualApril's Garden Procedures and policies manual
April's Garden Procedures and policies manual
 
Peachtree complete instructions
Peachtree complete instructionsPeachtree complete instructions
Peachtree complete instructions
 
Peachtree complete instructions
Peachtree complete instructionsPeachtree complete instructions
Peachtree complete instructions
 
Computerised Accounting(Chart of Accounts)
Computerised Accounting(Chart of Accounts)Computerised Accounting(Chart of Accounts)
Computerised Accounting(Chart of Accounts)
 
Elosimple manual
Elosimple manualElosimple manual
Elosimple manual
 

Mehr von Dhaval Dalal

Test Pyramid in Microservices Context
Test Pyramid in Microservices ContextTest Pyramid in Microservices Context
Test Pyramid in Microservices ContextDhaval Dalal
 
Code Retreat
Code RetreatCode Retreat
Code RetreatDhaval Dalal
 
Booting into functional programming
Booting into functional programmingBooting into functional programming
Booting into functional programmingDhaval Dalal
 
Currying and Partial Function Application (PFA)
Currying and Partial Function Application (PFA)Currying and Partial Function Application (PFA)
Currying and Partial Function Application (PFA)Dhaval Dalal
 
Creating Lazy stream in CSharp
Creating Lazy stream in CSharpCreating Lazy stream in CSharp
Creating Lazy stream in CSharpDhaval Dalal
 
Json Viewer Stories
Json Viewer StoriesJson Viewer Stories
Json Viewer StoriesDhaval Dalal
 
Value Objects
Value ObjectsValue Objects
Value ObjectsDhaval Dalal
 
Mars rover-extension
Mars rover-extensionMars rover-extension
Mars rover-extensionDhaval Dalal
 
How Is Homeopathy Near To Yoga?
How Is Homeopathy Near To Yoga?How Is Homeopathy Near To Yoga?
How Is Homeopathy Near To Yoga?Dhaval Dalal
 
Approaching ATDD/BDD
Approaching ATDD/BDDApproaching ATDD/BDD
Approaching ATDD/BDDDhaval Dalal
 
Paradigms Code jugalbandi
Paradigms Code jugalbandiParadigms Code jugalbandi
Paradigms Code jugalbandiDhaval Dalal
 
Data Reconciliation
Data ReconciliationData Reconciliation
Data ReconciliationDhaval Dalal
 
DRYing to Monad in Java8
DRYing to Monad in Java8DRYing to Monad in Java8
DRYing to Monad in Java8Dhaval Dalal
 
4-Code-Jugalbandi-destructuring-patternmatching-healthycode#apr2015
4-Code-Jugalbandi-destructuring-patternmatching-healthycode#apr20154-Code-Jugalbandi-destructuring-patternmatching-healthycode#apr2015
4-Code-Jugalbandi-destructuring-patternmatching-healthycode#apr2015Dhaval Dalal
 
Jumping-with-java8
Jumping-with-java8Jumping-with-java8
Jumping-with-java8Dhaval Dalal
 
3-CodeJugalbandi-currying-pfa-healthycodemagazine#mar2015
3-CodeJugalbandi-currying-pfa-healthycodemagazine#mar20153-CodeJugalbandi-currying-pfa-healthycodemagazine#mar2015
3-CodeJugalbandi-currying-pfa-healthycodemagazine#mar2015Dhaval Dalal
 
CodeJugalbandi-Sequencing-HealthyCode-Magazine-Feb-2015
CodeJugalbandi-Sequencing-HealthyCode-Magazine-Feb-2015CodeJugalbandi-Sequencing-HealthyCode-Magazine-Feb-2015
CodeJugalbandi-Sequencing-HealthyCode-Magazine-Feb-2015Dhaval Dalal
 
CodeJugalbandi-Expression-Problem-HealthyCode-Magazine#Jan-2015-Issue
CodeJugalbandi-Expression-Problem-HealthyCode-Magazine#Jan-2015-IssueCodeJugalbandi-Expression-Problem-HealthyCode-Magazine#Jan-2015-Issue
CodeJugalbandi-Expression-Problem-HealthyCode-Magazine#Jan-2015-IssueDhaval Dalal
 
The tao-of-transformation-workshop
The tao-of-transformation-workshopThe tao-of-transformation-workshop
The tao-of-transformation-workshopDhaval Dalal
 

Mehr von Dhaval Dalal (20)

Test Pyramid in Microservices Context
Test Pyramid in Microservices ContextTest Pyramid in Microservices Context
Test Pyramid in Microservices Context
 
Code Retreat
Code RetreatCode Retreat
Code Retreat
 
Booting into functional programming
Booting into functional programmingBooting into functional programming
Booting into functional programming
 
Currying and Partial Function Application (PFA)
Currying and Partial Function Application (PFA)Currying and Partial Function Application (PFA)
Currying and Partial Function Application (PFA)
 
Creating Lazy stream in CSharp
Creating Lazy stream in CSharpCreating Lazy stream in CSharp
Creating Lazy stream in CSharp
 
Json Viewer Stories
Json Viewer StoriesJson Viewer Stories
Json Viewer Stories
 
Value Objects
Value ObjectsValue Objects
Value Objects
 
Mars rover-extension
Mars rover-extensionMars rover-extension
Mars rover-extension
 
How Is Homeopathy Near To Yoga?
How Is Homeopathy Near To Yoga?How Is Homeopathy Near To Yoga?
How Is Homeopathy Near To Yoga?
 
Approaching ATDD/BDD
Approaching ATDD/BDDApproaching ATDD/BDD
Approaching ATDD/BDD
 
Paradigms Code jugalbandi
Paradigms Code jugalbandiParadigms Code jugalbandi
Paradigms Code jugalbandi
 
Data Reconciliation
Data ReconciliationData Reconciliation
Data Reconciliation
 
DRYing to Monad in Java8
DRYing to Monad in Java8DRYing to Monad in Java8
DRYing to Monad in Java8
 
CodeRetreat
CodeRetreatCodeRetreat
CodeRetreat
 
4-Code-Jugalbandi-destructuring-patternmatching-healthycode#apr2015
4-Code-Jugalbandi-destructuring-patternmatching-healthycode#apr20154-Code-Jugalbandi-destructuring-patternmatching-healthycode#apr2015
4-Code-Jugalbandi-destructuring-patternmatching-healthycode#apr2015
 
Jumping-with-java8
Jumping-with-java8Jumping-with-java8
Jumping-with-java8
 
3-CodeJugalbandi-currying-pfa-healthycodemagazine#mar2015
3-CodeJugalbandi-currying-pfa-healthycodemagazine#mar20153-CodeJugalbandi-currying-pfa-healthycodemagazine#mar2015
3-CodeJugalbandi-currying-pfa-healthycodemagazine#mar2015
 
CodeJugalbandi-Sequencing-HealthyCode-Magazine-Feb-2015
CodeJugalbandi-Sequencing-HealthyCode-Magazine-Feb-2015CodeJugalbandi-Sequencing-HealthyCode-Magazine-Feb-2015
CodeJugalbandi-Sequencing-HealthyCode-Magazine-Feb-2015
 
CodeJugalbandi-Expression-Problem-HealthyCode-Magazine#Jan-2015-Issue
CodeJugalbandi-Expression-Problem-HealthyCode-Magazine#Jan-2015-IssueCodeJugalbandi-Expression-Problem-HealthyCode-Magazine#Jan-2015-Issue
CodeJugalbandi-Expression-Problem-HealthyCode-Magazine#Jan-2015-Issue
 
The tao-of-transformation-workshop
The tao-of-transformation-workshopThe tao-of-transformation-workshop
The tao-of-transformation-workshop
 

KĂŒrzlich hochgeladen

DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Christopher Logan Kennedy
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxRemote DBA Services
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityWSO2
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vĂĄzquez
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Bhuvaneswari Subramani
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 

KĂŒrzlich hochgeladen (20)

DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 

Calculator stories

  • 1. Calculator Stories dhaval.dalal@software-artisan.com @softwareartisan
  • 2. Story #1 As an Accountant I want to add two numbers so that I can see what the total is Acceptance Criteria Given I have two numbers 2 and 3 When I add them Then I should see the sum as 5
  • 3. Story #2 As an Accountant I want to subtract two numbers so that I can see what the difference between them is Acceptance Criteria Given I have two numbers 2 and 3 When I subtract them Then I should see the difference as -1
  • 4. Story #3 As an Accountant I want to divide two numbers so that I can know the quotient Acceptance Criteria #1 Given I have two numbers 2 and 3 When I divide them Then I should see the quotient as 0.666666 Acceptance Criteria #2 Given I have two numbers 2 and 0 When I divide them Then I should see the quotient as ‘Infinity’
  • 5. Story #4 As an Accountant I want to multiply two numbers so that I can see what their product is Acceptance Criteria Given I have two numbers 2 and 3 When I multiply them Then I should see the product as 6
  • 6. Story #5 As an Accountant I want to toggle the sign of numbers so that I can reverse them at will Acceptance Criteria #1 Given I have number 2 When I press the toggle key (‘+/-’) Then I should see -2 on the display Acceptance Criteria #2 Given I have number -2 When I press the toggle key (‘+/-’) Then I should see 2 on the display
  • 7. Story #6 As an Accountant I want to delete a wrongly entered digit so that I can correct the number to input. Acceptance Criteria #1 Given I have pressed keys 2, 3, 4 When I press the backspace key Then I should see 23 on the display Acceptance Criteria #2 Given I have pressed a key 2 When I press the backspace key Then I should see ‘0’ on the display
  • 8. Story #7 As an Accountant I want to store number in memory so that I can use it later Acceptance Criteria #1 Given I press ‘2’ on the keypad When I press ‘M in’ key Then the number 2 should be stored in memory and the status bar on the display should show ‘M’ and the display should show ‘0’ to indicate that the calculator is ready for next operation
  • 9. Acceptance Criteria #2 Given that the status bar on the display shows ‘M’ When I recall the number by pressing the ‘R-CM’ key Then I should see the originally stored number on the display and be able to use that number for any operation.
  • 10. Story #8 As an Accountant I want to reset the calculator so that I can start afresh Acceptance Criteria #1 Given I am in middle of an operation When I press ‘CE’ (Clear Everything) key Then the operation should be cancelled and the display should show ‘0’ to indicate that the calculator is ready for next operation.
  • 11. Acceptance Criteria #2 Given that the display status bar on the display shows ‘M’ When I press ‘CE’ (Clear Everything) key Then I memory should be cleared and the display status bar should not show ‘M’ and the display should show ‘0’ to indicate that the calculator is ready for next operation
  • 12. Story #9 As an Accountant I want to store operations in memory so that I can recall them to see the steps that resulted in the final answer Acceptance Criteria Given I have performed two operations 2 * 3 = 6 and 6 + 3 = 9 When I replay the operations by pressing the step key Then I should see the following on the display in order Upon pressing the ‘Step’ key once I should see 2 * 3 = 6 Upon pressing the ‘Step’ key again, I should see 6 + 3 = 9