Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 77 lines (67 sloc) 3.286 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
<!doctype html>

<html>
<head>
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width; initial-scale=1.0">
  <title>Feature</title>
  <meta name="description" content="Behaviour Driven Development with Elegance and Joy">
  <meta name="keywords" content="bdd,tdd,atdd,gherkin,cucumber,ruby,java,csharp,c#,scala,groovy,clojure,javascript,ioke">
  <meta name="author" content="Aslak Hellesøy" />
  <script src="js/head.min.js"></script>
  <link rel="stylesheet" href="css/earth-pygments.css" type="text/css" />
  <link rel="stylesheet" href="css/console.css" type="text/css" media="screen, projection" />
  <link rel="stylesheet" href="css/filesystem.css" type="text/css" media="screen, projection" />
  <link rel="stylesheet" href="css/screen.css" type="text/css" media="screen, projection" />
</head>
<body>
  <div class="site">

<ul class="filesystem">
  <li class="dir">features
    <ul>
        <li class="feature">f.feature
          <div class="content highlight"><pre><span class="k">Feature:</span><span class="nf"> With and without hooks</span>
          <span class="nf"> </span><span class="k">Scenario:</span><span class="nf"> using hook</span>
          <span class="k"> Given </span><span class="nf">this step works</span>

          <span class="nf"> </span><span class="nt">@no-boom</span><span class="nf"></span>
          <span class="nf"> </span><span class="k">Scenario:</span><span class="nf"> omitting hook</span>
          <span class="k"> Given </span><span class="nf">this step works</span>
          </pre></div>
        </li>
        <li class="dir">step_definitions
          <ul>
            <li>
              <span class="path rb">steps.rb</span>
              <div class="content highlight"><pre><span class="no">Given</span><span class="sr"> /^this step works$/</span> <span class="k">do</span><span class="p">;</span> <span class="k">end</span>
              </pre></div>
            </li>
          </ul>
        </li>
        <li class="dir">support
          <ul>
            <li>
              <span class="path rb">hooks.rb</span>
              <div class="content highlight"><pre><span class="no">Before</span><span class="p">(</span><span class="s1">&#39;~@no-boom&#39;</span><span class="p">)</span> <span class="k">do</span>
                <span class="k">raise</span> <span class="s1">&#39;boom&#39;</span>
              <span class="k">end</span>
              </pre></div>
            </li>
          </ul>
        </li>
    </ul>
  </li>
</ul>

<div class="console"><pre>$ cucumber features/f.feature:2

Feature: With and without hooks

  Scenario: using hook<span class="comment"> # features/f.feature:2</span>
<span class="failed"> boom (RuntimeError)</span>
<span class="failed"> features/support/hooks.rb:2:in `Before'</span>
    <span class="skipped">Given this step works<span class="comment"> # features/step_definitions/steps.rb:1</span></span>

<span class="failed">Failing Scenarios:</span>
<span class="failed">cucumber features/f.feature:2</span><span class="comment"> # Scenario: using hook</span>

1 scenario (<span class="failed">1 failed</span>)
1 step (<span class="undefined">1 skipped</span>)
0m0.001s
</pre></div>

  </div>
</body>
</html>
Something went wrong with that request. Please try again.