https://github.com/mcandre/dashcheck
a D port of the QuickCheck unit test framework
https://github.com/mcandre/dashcheck
Last synced: about 1 year ago
JSON representation
a D port of the QuickCheck unit test framework
- Host: GitHub
- URL: https://github.com/mcandre/dashcheck
- Owner: mcandre
- Created: 2011-10-18T17:39:35.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2020-05-09T03:24:35.000Z (about 6 years ago)
- Last Synced: 2025-03-27T21:15:38.784Z (about 1 year ago)
- Language: D
- Homepage: http://www.yellosoft.us/quickcheck
- Size: 20.5 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dashcheck - a D port of the QuickCheck unit test framework
# EXAMPLE
```
$ rdmd example.d
*** Failed!
163
+++ OK, passed 100 tests.
+++ OK, passed 100 tests.
```
See [example.d](https://github.com/mcandre/dashcheck/blob/master/example.d) for more information.
# INSTALL
```
$ make install
```
# REQUIREMENTS
* `make`
* [dmd](http://dlang.org/) 2+
## Optional
* [ruby](https://www.ruby-lang.org/) 2+
* [Cucumber](http://cukes.info/)
* [aspelllint](https://github.com/mcandre/aspelllint)
* [pargs](https://github.com/mcandre/pargs)
* [editorconfig-tools](https://www.npmjs.com/package/editorconfig-tools)
# DEVELOPMENT
## Testing
Ensure the example script works as expected:
```
$ bundle
$ cucumber
Feature: Run example tests
Scenario: Running example tests # features/run_example_tests.feature:3
Given the program has finished # features/step_definitions/steps.rb:1
Then the output is correct for each test # features/step_definitions/steps.rb:5
1 scenario (1 passed)
2 steps (2 passed)
0m0.016s
```
## Spell Check
```
$ aspelllint
...
```