SlideShare ist ein Scribd-Unternehmen logo
1 von 56
Downloaden Sie, um offline zu lesen
Acceptance criteria
with SpecFlow
project case study
                      June 2010
#1 CONTEXT
Project GQ OSCA
    Using Scrum
    core team of 5
    started in June 2009
    Using XP techniques
      pair programming
      TDD
.NET 3.5
C#
SQL 2005
TFS 2008 with STS
Visual Studio 2008 with Resharper
NHibernate
Hitachi Framework

ASP.NET MVC
#2 EVOLUTION
#3 ACCEPTANCE TESTING
As a GQ OSCA Administrator I want to
Create a new EME window for an
academic year so that I can configure
the assessment material for a paper
Acceptance Criteria
• User select 'Add New Window' creates new row
  for date
• User can use Calendar Select to select Start
  Date, End Date, and Publish Date
• For Start Date: Must be within Academic year,
  and not within another existing window
• For End Date: Must be after Start Date, and not
  within another existing window
• For Commentary Publish Date: Must be after End
  Date, and not within another existing window
Scenario #1
• EME Start Date is outside Academic Year
  – GIVEN
    • the EME Start Date is outside of the current
      Academic Year
  – WHEN
    • the GQ OSCA Administrator tries to save the
      EME Window details
  – THEN
    • the form should display an error message stating
      that the start date must be within the Academic
      Year
Scenario #2
• EME Start Date is before EME End Date
  – GIVEN
    • the EME Start Date is after the EME End Date
  – WHEN
    • the GQ OSCA Administrator tries to save the
      EME Window details
  – THEN
    • the form should display an error message stating
      that the Start Date must be before the End Date
Scenario #3
• Existing EME Window and new EME Window
  Start Date is in existing EME Window
  – GIVEN
    • An EME Window already exists
    • the new EME Start Date is within the existing EME
      Window
  – WHEN
    • the GQ OSCA Administrator saves the EME Window
      details
  – THEN
    • the form should display an error message stating that
      the Start Date must not be within another EME
      Window
Workflow
#4 SPECFLOW
Gherkin
prepare context
set state
execute actions
make assertions
#5 MORE EXAMPLES
Challenges
•   Users writing the acceptance tests
•   Meaningful tests
•   Correct granularity of acceptance tests
•   Coverage
Reference
• Gherking
 http://wiki.github.com/aslakhellesoy/cucumber/
 gherkin
• Cucumber
  http://cukes.info/
• SpecFlow
  http://www.specflow.org/
http://creativecommons.org/licenses/by-nd/2.0/uk/

Weitere ähnliche Inhalte

Andere mochten auch

Acceptance criteria
Acceptance criteriaAcceptance criteria
Acceptance criteriaDataArt
 
Acceptance Criteria
Acceptance CriteriaAcceptance Criteria
Acceptance CriteriaSumeet Moghe
 
CloudSpokes Overview
CloudSpokes OverviewCloudSpokes Overview
CloudSpokes OverviewJeff Douglas
 
Acceptance criteria reloaded
Acceptance criteria reloaded Acceptance criteria reloaded
Acceptance criteria reloaded Mauro Ferratello
 
Acceptance Test Driven Development With Spec Flow And Friends
Acceptance Test Driven Development With Spec Flow And FriendsAcceptance Test Driven Development With Spec Flow And Friends
Acceptance Test Driven Development With Spec Flow And FriendsChristopher Bartling
 
7-point checklist that every Project Manager needs to look at
7-point checklist that every Project Manager needs to look at 7-point checklist that every Project Manager needs to look at
7-point checklist that every Project Manager needs to look at ProofHub
 
Getting to Done, Usably: User Experience Acceptance Criteria on Agile Projects
Getting to Done, Usably: User Experience Acceptance Criteria on Agile ProjectsGetting to Done, Usably: User Experience Acceptance Criteria on Agile Projects
Getting to Done, Usably: User Experience Acceptance Criteria on Agile ProjectsJoshua Ledwell
 
Business Idea Brainstorming and Evaluation Techniques
Business Idea Brainstorming and Evaluation TechniquesBusiness Idea Brainstorming and Evaluation Techniques
Business Idea Brainstorming and Evaluation TechniquesMark Tayar
 
Writing Effective User Stories
Writing Effective User StoriesWriting Effective User Stories
Writing Effective User StoriesJaneve George
 
FITT Toolbox: Evaluation Criteria
FITT Toolbox: Evaluation CriteriaFITT Toolbox: Evaluation Criteria
FITT Toolbox: Evaluation CriteriaFITT
 
How we increased our productivity with good acceptance criteria
How we increased our productivity with good acceptance criteriaHow we increased our productivity with good acceptance criteria
How we increased our productivity with good acceptance criteriaMauro Ferratello
 
Tech talk specflow_bddx_hassa_nagy
Tech talk specflow_bddx_hassa_nagyTech talk specflow_bddx_hassa_nagy
Tech talk specflow_bddx_hassa_nagySkills Matter
 
Brainstorming techniques
Brainstorming techniquesBrainstorming techniques
Brainstorming techniquesAmin Hanif
 
Agile Acceptance Criteria How To
Agile Acceptance Criteria How ToAgile Acceptance Criteria How To
Agile Acceptance Criteria How ToPayton Consulting
 

Andere mochten auch (20)

Acceptance criteria
Acceptance criteriaAcceptance criteria
Acceptance criteria
 
Acceptance Criteria
Acceptance CriteriaAcceptance Criteria
Acceptance Criteria
 
Prince 2, project managment Document Acceptance criteria
Prince 2, project managment Document Acceptance criteriaPrince 2, project managment Document Acceptance criteria
Prince 2, project managment Document Acceptance criteria
 
Usability "на коленке"
Usability "на коленке"Usability "на коленке"
Usability "на коленке"
 
CloudSpokes Overview
CloudSpokes OverviewCloudSpokes Overview
CloudSpokes Overview
 
Acceptance criteria reloaded
Acceptance criteria reloaded Acceptance criteria reloaded
Acceptance criteria reloaded
 
Acceptance Test Driven Development With Spec Flow And Friends
Acceptance Test Driven Development With Spec Flow And FriendsAcceptance Test Driven Development With Spec Flow And Friends
Acceptance Test Driven Development With Spec Flow And Friends
 
7-point checklist that every Project Manager needs to look at
7-point checklist that every Project Manager needs to look at 7-point checklist that every Project Manager needs to look at
7-point checklist that every Project Manager needs to look at
 
Getting to Done, Usably: User Experience Acceptance Criteria on Agile Projects
Getting to Done, Usably: User Experience Acceptance Criteria on Agile ProjectsGetting to Done, Usably: User Experience Acceptance Criteria on Agile Projects
Getting to Done, Usably: User Experience Acceptance Criteria on Agile Projects
 
User Stories
User StoriesUser Stories
User Stories
 
Business Idea Brainstorming and Evaluation Techniques
Business Idea Brainstorming and Evaluation TechniquesBusiness Idea Brainstorming and Evaluation Techniques
Business Idea Brainstorming and Evaluation Techniques
 
Evaluation process and criteria june 2 2015 final
Evaluation process and criteria june 2 2015 finalEvaluation process and criteria june 2 2015 final
Evaluation process and criteria june 2 2015 final
 
Relief Line - Draft Evaluation Process and Criteria
Relief Line - Draft Evaluation Process and CriteriaRelief Line - Draft Evaluation Process and Criteria
Relief Line - Draft Evaluation Process and Criteria
 
Writing Effective User Stories
Writing Effective User StoriesWriting Effective User Stories
Writing Effective User Stories
 
FITT Toolbox: Evaluation Criteria
FITT Toolbox: Evaluation CriteriaFITT Toolbox: Evaluation Criteria
FITT Toolbox: Evaluation Criteria
 
How we increased our productivity with good acceptance criteria
How we increased our productivity with good acceptance criteriaHow we increased our productivity with good acceptance criteria
How we increased our productivity with good acceptance criteria
 
User stories and use cases - Клаудия Заика
User stories and use cases - Клаудия ЗаикаUser stories and use cases - Клаудия Заика
User stories and use cases - Клаудия Заика
 
Tech talk specflow_bddx_hassa_nagy
Tech talk specflow_bddx_hassa_nagyTech talk specflow_bddx_hassa_nagy
Tech talk specflow_bddx_hassa_nagy
 
Brainstorming techniques
Brainstorming techniquesBrainstorming techniques
Brainstorming techniques
 
Agile Acceptance Criteria How To
Agile Acceptance Criteria How ToAgile Acceptance Criteria How To
Agile Acceptance Criteria How To
 

Ähnlich wie Acceptance Criteria with SpecFlow

Flipped-Hybrid Project Based Advanced Manufacturing Course design by Red Rock...
Flipped-Hybrid Project Based Advanced Manufacturing Course design by Red Rock...Flipped-Hybrid Project Based Advanced Manufacturing Course design by Red Rock...
Flipped-Hybrid Project Based Advanced Manufacturing Course design by Red Rock...cccschamp
 
online examination system
online examination systemonline examination system
online examination systemsnelkoli
 
Online Examination
Online ExaminationOnline Examination
Online Examinationsnelkoli
 
POST/CON 2019 Workshop: Testing, Automated Testing, and Reporting APIs with P...
POST/CON 2019 Workshop: Testing, Automated Testing, and Reporting APIs with P...POST/CON 2019 Workshop: Testing, Automated Testing, and Reporting APIs with P...
POST/CON 2019 Workshop: Testing, Automated Testing, and Reporting APIs with P...Postman
 
Eit web developing courses
Eit web developing coursesEit web developing courses
Eit web developing courseseppokguru
 
Effective .NET Core Unit Testing with SQLite and Dapper
Effective .NET Core Unit Testing with SQLite and DapperEffective .NET Core Unit Testing with SQLite and Dapper
Effective .NET Core Unit Testing with SQLite and DapperMike Melusky
 
Closing Cockpit Ver6
Closing Cockpit Ver6Closing Cockpit Ver6
Closing Cockpit Ver6Gan Sha
 
Java 2018 certifications
Java 2018 certificationsJava 2018 certifications
Java 2018 certificationsRory Preddy
 
SauceCon 2017: Making Your Mobile App Automatable
SauceCon 2017: Making Your Mobile App AutomatableSauceCon 2017: Making Your Mobile App Automatable
SauceCon 2017: Making Your Mobile App AutomatableSauce Labs
 
Selenium web driver_2.0_presentation
Selenium web driver_2.0_presentationSelenium web driver_2.0_presentation
Selenium web driver_2.0_presentationsayhi2sudarshan
 
Selenium Training in Chennai Demo Part-2
Selenium Training in Chennai Demo Part-2 Selenium Training in Chennai Demo Part-2
Selenium Training in Chennai Demo Part-2 Thecreating Experts
 
Effective .NET Core Unit Testing with SQLite and Dapper
Effective .NET Core Unit Testing with SQLite and DapperEffective .NET Core Unit Testing with SQLite and Dapper
Effective .NET Core Unit Testing with SQLite and DapperMike Melusky
 
E-LEARNING SYSTEM_ppt.pptx
E-LEARNING SYSTEM_ppt.pptxE-LEARNING SYSTEM_ppt.pptx
E-LEARNING SYSTEM_ppt.pptxssuser344ab3
 
IDTaskModeTask NameDurationStartFinishAug 20.docx
IDTaskModeTask NameDurationStartFinishAug 20.docxIDTaskModeTask NameDurationStartFinishAug 20.docx
IDTaskModeTask NameDurationStartFinishAug 20.docxwilcockiris
 
Decision CAMP 2014 - Erik Marutian - Using rules-based gui framework to power...
Decision CAMP 2014 - Erik Marutian - Using rules-based gui framework to power...Decision CAMP 2014 - Erik Marutian - Using rules-based gui framework to power...
Decision CAMP 2014 - Erik Marutian - Using rules-based gui framework to power...Decision CAMP
 

Ähnlich wie Acceptance Criteria with SpecFlow (20)

Flipped-Hybrid Project Based Advanced Manufacturing Course design by Red Rock...
Flipped-Hybrid Project Based Advanced Manufacturing Course design by Red Rock...Flipped-Hybrid Project Based Advanced Manufacturing Course design by Red Rock...
Flipped-Hybrid Project Based Advanced Manufacturing Course design by Red Rock...
 
Presentation (1) (1).pdf
Presentation (1) (1).pdfPresentation (1) (1).pdf
Presentation (1) (1).pdf
 
online examination system
online examination systemonline examination system
online examination system
 
Online Examination
Online ExaminationOnline Examination
Online Examination
 
Automated testing for sfl presentation
Automated testing for sfl presentationAutomated testing for sfl presentation
Automated testing for sfl presentation
 
POST/CON 2019 Workshop: Testing, Automated Testing, and Reporting APIs with P...
POST/CON 2019 Workshop: Testing, Automated Testing, and Reporting APIs with P...POST/CON 2019 Workshop: Testing, Automated Testing, and Reporting APIs with P...
POST/CON 2019 Workshop: Testing, Automated Testing, and Reporting APIs with P...
 
Kasi Resume
Kasi ResumeKasi Resume
Kasi Resume
 
Eit web developing courses
Eit web developing coursesEit web developing courses
Eit web developing courses
 
Effective .NET Core Unit Testing with SQLite and Dapper
Effective .NET Core Unit Testing with SQLite and DapperEffective .NET Core Unit Testing with SQLite and Dapper
Effective .NET Core Unit Testing with SQLite and Dapper
 
Closing Cockpit Ver6
Closing Cockpit Ver6Closing Cockpit Ver6
Closing Cockpit Ver6
 
Java 2018 certifications
Java 2018 certificationsJava 2018 certifications
Java 2018 certifications
 
SauceCon 2017: Making Your Mobile App Automatable
SauceCon 2017: Making Your Mobile App AutomatableSauceCon 2017: Making Your Mobile App Automatable
SauceCon 2017: Making Your Mobile App Automatable
 
Selenium web driver_2.0_presentation
Selenium web driver_2.0_presentationSelenium web driver_2.0_presentation
Selenium web driver_2.0_presentation
 
Selenium Training in Chennai Demo Part-2
Selenium Training in Chennai Demo Part-2 Selenium Training in Chennai Demo Part-2
Selenium Training in Chennai Demo Part-2
 
Effective .NET Core Unit Testing with SQLite and Dapper
Effective .NET Core Unit Testing with SQLite and DapperEffective .NET Core Unit Testing with SQLite and Dapper
Effective .NET Core Unit Testing with SQLite and Dapper
 
Case study-regression-testinga
Case study-regression-testingaCase study-regression-testinga
Case study-regression-testinga
 
E-LEARNING SYSTEM_ppt.pptx
E-LEARNING SYSTEM_ppt.pptxE-LEARNING SYSTEM_ppt.pptx
E-LEARNING SYSTEM_ppt.pptx
 
IDTaskModeTask NameDurationStartFinishAug 20.docx
IDTaskModeTask NameDurationStartFinishAug 20.docxIDTaskModeTask NameDurationStartFinishAug 20.docx
IDTaskModeTask NameDurationStartFinishAug 20.docx
 
Agile Issue Types and Decomposition
Agile Issue Types and DecompositionAgile Issue Types and Decomposition
Agile Issue Types and Decomposition
 
Decision CAMP 2014 - Erik Marutian - Using rules-based gui framework to power...
Decision CAMP 2014 - Erik Marutian - Using rules-based gui framework to power...Decision CAMP 2014 - Erik Marutian - Using rules-based gui framework to power...
Decision CAMP 2014 - Erik Marutian - Using rules-based gui framework to power...
 

Kürzlich hochgeladen

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdfChristopherTHyatt
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 

Kürzlich hochgeladen (20)

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 

Acceptance Criteria with SpecFlow

  • 3. Project GQ OSCA Using Scrum core team of 5 started in June 2009 Using XP techniques pair programming TDD
  • 4. .NET 3.5 C# SQL 2005 TFS 2008 with STS Visual Studio 2008 with Resharper NHibernate Hitachi Framework ASP.NET MVC
  • 5.
  • 6.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 15. As a GQ OSCA Administrator I want to Create a new EME window for an academic year so that I can configure the assessment material for a paper
  • 16. Acceptance Criteria • User select 'Add New Window' creates new row for date • User can use Calendar Select to select Start Date, End Date, and Publish Date • For Start Date: Must be within Academic year, and not within another existing window • For End Date: Must be after Start Date, and not within another existing window • For Commentary Publish Date: Must be after End Date, and not within another existing window
  • 17.
  • 18.
  • 19. Scenario #1 • EME Start Date is outside Academic Year – GIVEN • the EME Start Date is outside of the current Academic Year – WHEN • the GQ OSCA Administrator tries to save the EME Window details – THEN • the form should display an error message stating that the start date must be within the Academic Year
  • 20. Scenario #2 • EME Start Date is before EME End Date – GIVEN • the EME Start Date is after the EME End Date – WHEN • the GQ OSCA Administrator tries to save the EME Window details – THEN • the form should display an error message stating that the Start Date must be before the End Date
  • 21. Scenario #3 • Existing EME Window and new EME Window Start Date is in existing EME Window – GIVEN • An EME Window already exists • the new EME Start Date is within the existing EME Window – WHEN • the GQ OSCA Administrator saves the EME Window details – THEN • the form should display an error message stating that the Start Date must not be within another EME Window
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 35.
  • 36.
  • 40.
  • 41.
  • 42.
  • 43.
  • 44.
  • 45.
  • 46.
  • 48.
  • 49.
  • 50.
  • 51.
  • 52.
  • 53.
  • 54. Challenges • Users writing the acceptance tests • Meaningful tests • Correct granularity of acceptance tests • Coverage
  • 55. Reference • Gherking http://wiki.github.com/aslakhellesoy/cucumber/ gherkin • Cucumber http://cukes.info/ • SpecFlow http://www.specflow.org/