Skip to content
This repository has been archived by the owner on Mar 6, 2020. It is now read-only.

BasHamer/PossumLabs.Specflow.Core

Repository files navigation

possumlabs-specflow-core MyGet Build Status

PossumLabs.Specflow.Core

The core library for the Possum Labs Specflow extention

Please see https://github.com/BasHamer/PossumLabs.Specflow for tutorials and examples.

Variables

Scenario: Variables

Given the Companies

var
C1

And the Users

var Company
U1 C1
U2 C1

Validation

Scenario: Use . notation to validate properties

Given the Employee

var Name
E1 Bob

And the Employee

var Name Reports
E2 Mary E1

And the root Employee is 'E2'

When Employee 'E2' Retires

Then 'E1.Role' has the value 'CEO'

Scenario: you can also validate lists

Given the Employees

var Name Seniority
E1 Bob 1
E2 Jan 1

And the Employees

var Name Reports
E3 Mary E1
E4 Joe E2

And the Employee

var Name Reports
E5 Tom E3, E4

And the root Employee is 'E5'

When Employee 'E3' Retires

Then 'E5.Reports' contains the values

Name
E1.Name

And 'E1.Role' has the value 'Minion'

About

THIS PROJECT HAS MOVED, please visit it at the new location

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages