Skip to content

Instantly share code, notes, and snippets.

@ksunair
ksunair / DebuggerShim.cs
Created February 22, 2012 20:12
NSpec Debugger Shim
using NUnit.Framework;
using NSpec.Domain;
using System.Reflection;
using NSpec;
using NSpec.Domain.Formatters;
namespace TestEngine
{
[TestFixture]
module Main exposing (..)
import Html exposing (..)
import Html.Attributes exposing (..)
import Html.Events exposing (..)
type alias Model =
{ name : String
, inputdata : String
module Main exposing (..)
--- Import part
import Html exposing (..)
import Html.Attributes exposing (..)
import Html.Events exposing (..)
-- Model part
module Main exposing (..)
import Html exposing (..)
import Html.Events exposing (..)
type alias Model =
{ fullName : String
, firstName : String
, lastName : String
module Main exposing (..)
import Html exposing (..)
import Html.Events exposing (..)
import Debug exposing (..)
type alias Model =
{ fullName : String
, firstName : String
module Main exposing (..)
import Html exposing (..)
import Html.Events exposing (..)
import Debug exposing (..)
type alias Model =
{ fullName : String
, firstName : String
module Main exposing (..)
import Html exposing (..)
import Html.Events exposing (..)
type alias Model =
{ rate : String
}
module Main exposing (..)
import Html exposing (..)
import Html.Events exposing (..)
import Http
type alias Model =
{ rate : String
}
import openpyxl, pprint
from datetime import datetime
from dateutil import rrule
def diff_month(d1, d2):
return (d1.year - d2.year) * 12 + d1.month - d2.month
print ('Opening workbook ')
module Main exposing (..)
import Html exposing (..)
import Html.Events exposing (..)
import Debug exposing (..)
type alias Model =
{ fullName : String
, firstName : String