pijamas.assertion

Pijamas, a BDD assertion library for D.

Members

Aliases

expect
alias expect = should

The function **expect** it's an helper or syntax sugar to create the assertation. Because of D’s lookup shortcut syntax, one is able to use both expect(obj) and obj.expect to get an object wrapped around an Assertion instance

Functions

should
Assertion!T should(T context)

The function **should** it's an helper or syntax sugar to create the assertation. Because of D’s lookup shortcut syntax, one is able to use both should(obj) and obj.should to get an object wrapped around an Assertion instance

Structs

Assertion
struct Assertion(T)

Class returned by should, that it's used to generate the fluent API

Meta

License

Licensed under the MIT license. See LICENSE for more information.