Show Menu
Cheatography

Specflow Tips Cheat Sheet (DRAFT) by

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Calling steps from each other

[Given(@"I login as '(.*)'")]
public void GivenILoginAs(string userName)
{
    Given(string.Format("I login as '{0}'", userName));
}
The Steps implem­ent­ation class should derive from Steps class.

Restri­cting scope binding

[Scope(Feature = "Feature1", Scenario = "Scenario2")]
[Scope(Tag = "tag")]
[Given(@"I login as '(.*)'")]
public void GivenISignInAs(string userName){}
Within attribute - AND, when several Scope attributes - OR.
 

Something bad goes here

What do I do next?
 

Columns # 3

adsf
fff
Image here? somehow?
this is ban

Title1

Some content goes here
what is up?!

That is crazy!! 4 bloock!s

asdf
asdf
asdf3
stareet i stareet
 
ff
a
   
ff
Budu imet v vidu

That is crazy!! 4 bloock!s (copy)

asdf
asdf
asdf3
f