Sha256: 102e398aa3cccd6d4508f92df1ff01c577df83f84cd0520977c159a2eb18a99d

Contents?: true

Size: 622 Bytes

Versions: 5

Compression:

Stored size: 622 Bytes

Contents

h1. Guide to running specs

The specs use shared examples! See the _troles/api_spec.rb_, _trole/api_spec.rb_ and more importantly the _troles/common/api_spec.rb_.
This is where most of the goodies are defined. Each api_spec pulls in spec examples from the /api folder in the respective location.
To remove one or more APIs from the spec run, simply outcomment in the relevant _api_spec.rb_.

To run specs, I recommend running for individual strategies:

Example:

@$ rspec spec/troles/strategies/bit_many_spec.rb@ 

If the output is too much, remove one or more APIs from the "run" as describe above!

Happy bug hunting!
 

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
troles-0.6.1 spec/Guide to running specs.textile
troles-0.6.0 spec/Guide to running specs.textile
troles-0.5.2 spec/Guide to running specs.textile
troles-0.5.1 spec/Guide to running specs.textile
troles-0.5.0 spec/Guide to running specs.textile