Se ha denunciado esta presentación.
Utilizamos tu perfil de LinkedIn y tus datos de actividad para personalizar los anuncios y mostrarte publicidad más relevante. Puedes cambiar tus preferencias de publicidad en cualquier momento.
Próxima SlideShare
NDC 2011 - SpecFlow: Pragmatic BDD for .NET
Siguiente

7

Compartir

Using Specflow for BDD

How to start using specflow for Behavior Driven Development.

Using Specflow for BDD

  1. 1. Using Specflow for BDD
  2. 2. Specflow Installation Demo
  3. 3. Gherkin Language
  4. 4. Features Contain One or more scenarios Group/Contain logically related scenarios Represent small, discrete features of the system
  5. 5. Features Start with “Feature:” keyword Followed by feature name/terse description Optional free text description Feature: Brush Teeth Brushing teeth is good because it helps keep them clean
  6. 6. Feature As a ….. I want ….. So that ….. In order to … as a ….. I want
  7. 7. Scenarios Concrete examples of expected system behaviour Each scenario describes a particular situation Each scenario should be independent and isolated from other scenarios Can represent - Happy Paths - Error Paths - Edge Cases Start with “Scenario:” keyword Followed by title Scenario: Successful Brushing
  8. 8. Scenario Steps
  9. 9. Tags Mark features and scenarios with arbitrary tags Map to unit test framework “categories” Scenarios inherit feature tags Can have multiple tags Tags specified using @ @ignore is a special case
  10. 10. Using Data Tables in Steps Allow tabular data to be passed to individual step Useful for specifying large data rather than multiple steps
  11. 11. Scenario outlines
  12. 12. Background Provides context (state setup) to the scenarios in a feature Executed before any scenario
  13. 13. Coding the Automated Steps Demos
  14. 14. Coding the automated steps
  15. 15. Linking TFS with SpecFlow
  • anoopgs

    Feb. 17, 2020
  • cdivyanair

    Sep. 6, 2019
  • rahulbluffmaster

    Aug. 22, 2017
  • holaszkati

    Dec. 18, 2016
  • DavidBrizzieCSM

    Jan. 14, 2016
  • alainabrtz

    Aug. 2, 2015
  • why_not_sky

    Nov. 25, 2014

How to start using specflow for Behavior Driven Development.

Vistas

Total de vistas

1.003

En Slideshare

0

De embebidos

0

Número de embebidos

4

Acciones

Descargas

0

Compartidos

0

Comentarios

0

Me gusta

7

×