Skip to content

Instantly share code, notes, and snippets.

View HowardvanRooijen's full-sized avatar

Howard van Rooijen HowardvanRooijen

View GitHub Profile
PS:> nuget pack MyApp.dll.nuspec
<?xml version="1.0"?>
<package>
<metadata>
<id>MyApp.dll</id>
<version>1.0.0</version>
<authors>Pascal</authors>
<owners>Pascal</owners>
<licenseUrl>http://LICENSE_URL_HERE_OR_DELETE_THIS_LINE</licenseUrl>
<projectUrl>http://PROJECT_URL_HERE_OR_DELETE_THIS_LINE</projectUrl>
<iconUrl>http://ICON_URL_HERE_OR_DELETE_THIS_LINE</iconUrl>
/// <binding AfterBuild='cucumberjs' />
// features/example/
example.jsmodule.exports = function ()
{
this.Given(/^I have entered (.*) into the calculator$/, function (value, callback)
{
if (!this.valueStack)
{
this.valueStack = [];
}
this.valueStack.push(Number(value));
Feature: Division In order to avoid silly mistakes Cashiers must be able to calculate a fraction
Scenario: Regular numbers
Given I have entered 3 into the calculator
And I press divide
And I have entered 2 into the calculator
When I press equal
Then The result should be 1.5 on the screen
/*This file in the main entry point for defining grunt tasks and using grunt plugins.
Click here to learn more. http://go.microsoft.com/fwlink/?LinkID=513275&clcid=0x409*/
module.exports = function (grunt)
{
grunt.initConfig({
cucumberjs:
{
src: 'Features',
options:
{
"devDependencies":
{
"cucumber": "latest",
"grunt": "latest",
"grunt-cucumber": "latest"
},
"name": "Specs",
"private": true,
"version": "1.0.0"
{
"database":"@{pipeline().parameters.database}",
"schema":"sales",
"stage":"azure_adf_stage",
"query":"select * from SupplierAgg",
"filePrefix":"@{pipeline().parameters.outputPath}",
"overwrite":true,
"warehouse":"@{pipeline().parameters.warehouse}"
}
{
"database":"@{pipeline().parameters.database}",
"schema":"sales",
"stage":"azure_adf_stage",
"targetTable":"LINEITEM",
"files":["@{pipeline().parameters.inputPath}"],
"warehouse":"@{pipeline().parameters.warehouse}"
}
{ "Contact.Name" : 'Daryl Loynes' }