dshould ~initial

D fluent asserts library


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

should

dshould is a library that implements fluent asserts using common keywords such as should, not, be, equal, greater and so on. Each sentence must begin with should.

Example:

(2 + 2).should.equal(4);

(2 + 2).should.not.equal(5);

(2 + 2).should.be.greater(3);
Authors:
  • Mathis Beer
Dependencies:
unit-threaded
Versions:
1.7.2 2024-Aug-14
1.7.1 2022-Dec-05
1.7.0 2022-Jul-05
1.6.1 2022-Jul-05
1.6.0 2022-Jul-01
Show all 58 versions
Download Stats:
  • 36 downloads today

  • 222 downloads this week

  • 1212 downloads this month

  • 23860 downloads total

Score:
2.9
Short URL:
dshould.dub.pm