Skip to content
Create a gist now

Instantly share code, notes, and snippets.

// Tiniest BDD DSL/framework around?
// Licensed under MSPL/FreeBSD/ISC or any other OSS license you want
// Original idea from,
// turned into generic base class by Jonas Follesø.
public abstract class BDD<T> where T : BDD<T>
protected T Given { get { return (T)this; } }
protected T And { get { return (T)this; } }
protected T When { get { return (T)this; } }
protected T Then { get { return (T)this; } }
public void The_mismatch_exception_message_contains_information_about_the_mismatch()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.