<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">hspec version 0.8.0, Behavior Driven Development for Haskell, is now available!<div><br></div><div>This latest release includes a command line runner that can search through directory trees for specs and support for nested specs.</div><div><br></div><div><div>From the hspec specs:</div><div><span class="Apple-style-span" style="font-family: helvetica, arial, freesans, clean, sans-serif; font-size: 13px; line-height: 18px; "><pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font: normal normal normal 12px/normal 'Bitstream Vera Sans Mono', Courier, monospace; word-wrap: break-word; width: 74em; "><font class="Apple-style-span" color="#444444" size="3"><span class="Apple-style-span" style="font-size: 11px; line-height: 15px; white-space: pre-wrap;"><br></span></font></pre><pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font: normal normal normal 12px/normal 'Bitstream Vera Sans Mono', Courier, monospace; word-wrap: break-word; width: 74em; "><font class="Apple-style-span" color="#444444" size="3"><span class="Apple-style-span" style="font-size: 11px; line-height: 15px; white-space: pre-wrap;">the "describe" function
- takes a description of what the behavior is for
- groups behaviors for what's being described
a nested description
- has it's own specs
- may be displayed indented</span></font></pre><pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font: normal normal normal 12px/normal 'Bitstream Vera Sans Mono', Courier, monospace; word-wrap: break-word; width: 74em; "><font class="Apple-style-span" color="#444444"><span class="Apple-style-span" style="line-height: 15px; white-space: pre-wrap; "><font class="Apple-style-span" face="Helvetica"><br></font></span></font></pre><pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font: normal normal normal 12px/normal 'Bitstream Vera Sans Mono', Courier, monospace; word-wrap: break-word; width: 74em; "><font class="Apple-style-span" color="#444444"><span class="Apple-style-span" style="line-height: 15px; white-space: pre-wrap; "><font class="Apple-style-span" face="Helvetica">And from the hspec command line runner:</font></span></font></pre><pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font: normal normal normal 12px/normal 'Bitstream Vera Sans Mono', Courier, monospace; word-wrap: break-word; width: 74em; "><font class="Apple-style-span" color="#444444"><span class="Apple-style-span" style="line-height: 15px; white-space: pre-wrap; "><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;"><br></span></font></span></font></pre><pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font: normal normal normal 12px/normal 'Bitstream Vera Sans Mono', Courier, monospace; word-wrap: break-word; width: 74em; "><font class="Apple-style-span" color="#444444"><span class="Apple-style-span" style="line-height: 15px; white-space: pre-wrap; "><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;">hspec searches through files or folders and runs any top level declarations with a type of `Specs` or `IO Specs`. Monadic specs must be fully qualified, list-based specs may be qualified or not. You can specify specific *.hs files or directories to search through or let hspec search the current directory tree for specs to run.
usage: hspec [OPTIONS] [TARGET_LIST]
-f FORMAT --format=FORMAT Specifies what format to use for output.
By default the specdoc format is used.
FORMAT can be silent, progress, specdoc, or failed_examples.
-o FILE_NAME --output=FILE_NAME Specifies the file to use for output.
By default output is directed to stdout.
FILE_NAME can be stdout or stderr for those handles.
-e REGEX --example=REGEX Only execute examples with a matching description.
By default all examples are executed.
-c TRUE|FALSE --color=TRUE|FALSE Force output to have or not have red and green color.
By default color is only used when output is directed to stdout.
--runfile=FILE_NAME Use a specific file to log the last run results. This is read when using the --rerun option.
By default the file ".hspecLastRun" logs the last run results.
-r RERUNOPT --rerun=RERUNOPT Rerun a specific subset of specs. This looks at the last run file specified by -runfile.
RERUNOPT can be "all" or "failed".
By default the last run file is ignored and all specs are run.
-h, -? --help Display this help.
-v --verbose Display detailed information about what hspec is doing.
--specs Include the specs for the hspec command line runner itself. When used, the target list
will not default to the current directory. A non-empty target list will still be
searched though.
</span></font></span></font></pre><div><font class="Apple-style-span" color="#444444"><span class="Apple-style-span" style="line-height: 15px; white-space: pre-wrap; "><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 11px;"><br></span></font></span></font></div><pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font: normal normal normal 12px/normal 'Bitstream Vera Sans Mono', Courier, monospace; word-wrap: break-word; width: 74em; "><font class="Apple-style-span" color="#444444" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 11px; line-height: 15px; white-space: pre-wrap;"><br></span></font></pre></span></div></div><div><a href="http://hackage.haskell.org/package/hspec">http://hackage.haskell.org/package/hspec</a></div><div><a href="https://github.com/trystan/hspec">https://github.com/trystan/hspec</a></div><div><br></div><div>Trystan Spangler</div><div><br></div></body></html>