Skip to content

Instantly share code, notes, and snippets.

@speier
speier / gist:1009014
Created June 5, 2011 14:51
dotcloud.cmd
@setlocal enabledelayedexpansion && "c:\Python27\python.exe" -x "%~f0" %* & exit /b !ERRORLEVEL!
import sys
sys.path.append('c:\Python27\Lib\site-packages\dotcloud.cli-0.3.1-py2.7.egg\dotcloud\cli')
import cli
if __name__ == '__main__':
cli.main()
[Binding]
class CalculatorSteps
{
private readonly StandardKernel _kernel = new StandardKernel();
private ICalculator _calc;
private int _lastResult;
public CalculatorSteps()
{
Feature: Addition
In order to avoid silly mistakes
As a math idiot
I want to be told the sum of two numbers
Scenario: Add two numbers
Given a calculator
When I sum 50 and 70
Then the result should be 120
#!python2.7.exe
from dotcloudcli import cli
if __name__ == '__main__':
cli.main()