quicksmash

Description

A Smalltalk port of the QuickCheck unit test framework

Details

Source
GitHub
Stars
12
Forks
1
Created
Aug. 7, 2011
Updated
May 25, 2024

Categories

Testing

README excerpt

# QuickSmash - a Smalltalk port of the QuickCheck unit test framework

# INSTALL

    $ make install

# EXAMPLE

    $ make install
    $ make test
    gst -f example.st
    +++ OK, passed 100 tests.
    *** Failed! (-19 )
    +++ OK, passed 100 tests.

# HOMEPAGE

http://www.yellosoft.us/quickcheck

# REQUIREMENTS

* [GNU Smalltalk](http://smalltalk.gnu.org/)

Example: `brew install gnu-smalltalk`

## Optional

* [Ruby](https://www.ruby-lang.org/) 2+
* [Bundler](http://bundler.io/)
* [Cucumber](http://cukes.info/)
* [Guard](http://guardgem.org/)
* [aspelllint](https://github.com/mcandre/aspelllint)

# DEVELOPMENT

## Test

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.059s

## Spell Check

    $ aspelllint
    ...

## Local CI

Guard can automatically run testing when the code changes:

    $ bundle
    $ guard -G Guardfile-cucumber
    ...
← Back to results