Giter Site home page Giter Site logo

nels-p-olsen / specbind Goto Github PK

View Code? Open in Web Editor NEW

This project forked from specbind/specbind

0.0 2.0 0.0 4.18 MB

Bridges the SpecFlow and popular UI automation frameworks to simplify acceptance tests.

License: MIT License

Gherkin 2.19% C# 97.81%

specbind's Introduction

Join the chat at https://gitter.im/dpiessens/specbind

Build status

Code Coverage

What is SpecBind?

SpecBind is an extension to SpecFlow that uses common language steps to allow a user to define interaction with an application. Unlike conventional SpecFlow where the user needs to define how each step definition interacts with the host system, SpecBind uses conventions and a thin page model to minimize coding efforts and maximize flexibility when defining the link between specifications and working sites.

Initial Setup

Getting SpecBind installed is a simple process:

  1. Go to http://www.specflow.org and follow the instructions for installing the Visual Studio Extension

  2. Choose the driver type you want to use to interact with the host system:

    • Coded UI
    • Selenium
  3. Create a new test project in Visual Studio, Make it a Coded UI project if you are using that.

  4. Install the NuGet package for SpecBind

  • Coded UI PM\> Install-Package SpecBind.CodedUI
  • SeleniumPM\> Install-Package SpecBind.Selenium

And you're done!

Step Overview

One of the key features of SpecBind is it features a common set of steps that can be used to describe actions you take in validating a web application. These steps are outlined by their functionality in the Getting Started guide or in the Step Reference section. One thing to note is how they work with the Gherkin language. For any Given steps the step is in the past tense. This is because it assumes the action is a prerequisite and has already occurred. The When and Then steps are in the present tense since they are what the test indicates should occur. In this guide, both commands will be outlined so that the syntax is know, but only the present tense will be used for examples.

Next Steps

Follow the Getting Started section to begin creating tests, or Documentation for in detailed information on SpecBind.

specbind's People

Contributors

adback03 avatar dpiessens avatar gitter-badger avatar iterative-it avatar jonstelly avatar kristerbone avatar lopezn avatar nels-p-olsen avatar nickmcg avatar playaroundhub avatar scottcowan avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.