Skip to content
Robert Cochran edited this page Aug 14, 2013 · 1 revision

The console output is short and suite. It gives a quick birds eye view of the status of a project and all of the improvements that can be made to it. Below is an example of what would be seen against a small project. The data for this example comes from the simple_project found in the examples folder.

Suite Summary
  Total Score: 192
    Features
      Min: 0 
      Max: 0 
      Average: 0.0
  Scenarios
      Min: 0 
      Max: 10 
      Average: 3.33
  Step Definitions
      Min: 0 
      Max: 10 
      Average: 1.38
  Hooks
      Min: 21 
      Max: 25 
      Average: 24.43
  Improvements to make:
    (6)Hook without a begin/rescue. Reduced visibility when debugging.
    (1)Hook with no content.
    (1)Hook found outside of the designated hooks file
    (1)Hook is only comments.
    (1)Nested step call.
    (1)Lazy Debugging through puts, p, or print
    (1)Scenario steps out of Given/When/Then order.
Clone this wiki locally