This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%systemdrive%\chocolatey\bin | |
@PowerShell -ExecutionPolicy bypass -file devApps.ps1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@PowerShell -ExecutionPolicy bypass -file devApps.ps1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cinst 7zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%systemdrive%\chocolatey\bin - See more at: http://chocolatey.org/#sthash.LRsnLpJB.dpuf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Scenario: Demo-multiline arguments | |
Given a json-string like this: | |
""" | |
{ | |
"glossary": { | |
"title": "example glossary", | |
"GlossDiv": { | |
"title": "S", | |
"GlossList": { | |
"GlossEntry": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class UserListService : Nancy.NancyModule | |
{ | |
// wrote this line here for clarity... | |
// I would probably open the DB-connection per request | |
// but that doesn't show what I'm doing so nice as this. | |
private dynamic _db = Database.Open(); | |
public SampleModule() | |
{ | |
Get["/Users/{name}"] = p => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Binding] | |
public class WebDriverSupport | |
{ | |
private readonly IObjectContainer objectContainer; | |
public WebDriverSupport(IObjectContainer objectContainer) | |
{ | |
this.objectContainer = objectContainer; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ATMPageWrapper : FluentTest | |
{ | |
public ATMPageWrapper() | |
{ | |
// Initialization of ATMPageWrapper | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace CukeEnvySkillsmatterDemo.Specs.Steps | |
{ | |
[Binding] | |
public class WithdrawSteps | |
{ | |
// We'll inject the driver (change version by uncommenting | |
// lines in the using-part of this file) | |
private readonly Driver _driver; | |
public WithdrawSteps(Driver driver) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using CukeEnvySkillsmatterDemo.Web; | |
using CukeEnvySkillsmatterDemo.Web.Models; | |
using Nancy; | |
using Nancy.Testing; | |
using NUnit.Framework; | |
namespace CukeEnvySkillsmatterDemo.Specs.Support.Wrappers | |
{ | |
public class BankModuleWrapper | |
{ |