SOFTWARE-CLINIC / featurebook

A command line tool (and Node.js library) for generating beautiful system specifications from Gherkin source files.
MIT License
40 stars 11 forks source link

Scenario: Provide summary for a section (subdirectory) #43

Closed danielpacak closed 9 years ago

danielpacak commented 9 years ago
  Scenario: Provide summary for a section (subdirectory)
    Given the "SUMMARY.md" in the "authentication" subdirectory with Markdown
    """
    Authentication
    ==============
    The Markdown-powered summary of the `Authentication` section
    """
    And the "SUMMARY.md" in the "admin" subdirectory with Markdown
    """
    Admin
    =====
    Summary of the `Admin` section
    """
    When I serve the directory as a system specification
    And open it in my web browser
    And click the "Authentication" node in the features tree
    Then the summary from "authentication/SUMMARY.md" should be parsed and displayed
    When I click the "Admin" node in the features tree
    Then the summary from "admin/SUMMARY.md" should be parsed and displayed