Sha256: 68888ece912e8ce22cfb082de8a32c85158ed27b2e418b248ac302992fe5125a

Contents?: true

Size: 822 Bytes

Versions: 1

Compression:

Stored size: 822 Bytes

Contents

# Minitest Lucid

Use ```minitest_lucid``` to improve assertion messages from ```minitest```.

## Usage

To use ```minitest_lucid```, install the gem and then in your tests,

```ruby
require 'minitest_lucid'
```

instead of

```ruby
require 'minitest/autorun'
```

No other code change is required.

For example, change this test

@[ruby](not_lucid.rb)

to this

@[ruby](lucid.rb)

See example outputs below.

## Supported Classes

For supported classes, method ```assert_equal``` gets elucidated handling.

For other classes and assertion methods, the original assertion behaviors are unchanged.

The supported classes:

- [Hash](#hash)
- [Set](#set)
- [Struct](#struct)

@[:markdown](hash/template.md)

@[:markdown](set/template.md)

@[:markdown](struct/template.md)



Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
minitest_lucid-1.0.0 markdown/readme/template.md