Sha256: 49549b67870153de560ef4a2a5d1c92603654fc6c09ecd7808206fadf9965fad

Contents?: true

Size: 1.17 KB

Versions: 2

Compression:

Stored size: 1.17 KB

Contents

Note: this is a debug feature and its not worth specifying until it gets a bit
more stable.
Feature: author views information

  As an author
  I want to view the components of my article
  So that I can diagnose errors in output

  Scenario: list stuff
    Given an article with the contents:
      """
      # :TEXT:
      # Anonymous section 1
    
      anonymous code 1
      # :END:

      anonymous code 2

      # :TEXT: A
      # Section A

      # :SAMPLE: X
      code sample X

      # :PROCESS: frob, "aaa"
      # :PROCESS: munge, "bbb"
      """
    When I run the command "germ show --section=SECTION1" on the article
    Then the output should be as follows:
      """
      # Anonymous section 1
      
      Insertion[@SECTION1]
      """
    When I run the command "germ show --section=A" on the article
    Then the output should be as follows:
      """
      # Section A

      """
    When I run the command "germ show --sample=X" on the article
    Then the output should be as follows:
      """
      code sample X

      """
    When I run the command "germ show --process=munge" on the article
    Then the output should be as follows:
      """
      bbb
      """

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
devver-germinate-1.2.0 features/author-views-stuff.pending_feature
germinate-1.2.0 features/author-views-stuff.pending_feature