It would be nice to have something like
result.must.not.be!(42);
So, have a look at 'assertOp':
http://d.puremagic.com/issues/show_bug.cgi?id=4653
How can a user of your code add matchers, for example, to check
for elements or attributes in XML? (Without having to change your
code.) The
On Tuesday, 3 September 2013 at 06:36:20 UTC, Jacob Carlborg
wrote:
On 2013-09-02 21:03, jostly wrote:
specd is a DSL library allowing you to write more expressive
unit tests.
It is inspired by projects like specs2 and ScalaTest from the
Scala world.
Example:
unittest {
On Wednesday, 4 September 2013 at 11:06:45 UTC, linkrope wrote:
It would be nice to have something like
result.must.not.be!(42);
So, have a look at 'assertOp':
http://d.puremagic.com/issues/show_bug.cgi?id=4653
How can a user of your code add matchers, for example, to check
for elements
On 2013-09-04 19:38, jostly wrote:
Looks interesting. I hadn't heard of the UDA's before, they seem quite
powerful from a brief glance.
Very simple but very powerful. It's basically way to tag symbols with
values/types.
--
/Jacob Carlborg
On 2013-09-02 21:03, jostly wrote:
specd is a DSL library allowing you to write more expressive unit tests.
It is inspired by projects like specs2 and ScalaTest from the Scala world.
Example:
unittest {
describe(a string)
.should(have a length property,