Sha256: 5647ab077060250e1f7531c3601bc72f98a4884dcc775ab0f58ad80d00d52671

Contents?: true

Size: 1.16 KB

Versions: 4

Compression:

Stored size: 1.16 KB

Contents

Feature: name
  As a CSL cite processor hacker
  I want the test name_AuthorEditorCount to pass

  @citation @name
  Scenario: Author Editor Count
    Given the following style:
    """
    <style 
          xmlns="http://purl.org/net/xbiblio/csl"
          class="note"
          version="1.0">
      <info>
        <id />
        <title />
        <updated>2009-08-10T04:49:00+09:00</updated>
      </info>
      <citation 
             et-al-min="4"
             et-al-use-first="3">
        <layout>
          <names variable="author editor">
            <name form="count" />
          </names>
        </layout>
      </citation>
    </style>
    """
    And the following input:
    """
    [{"author":[{"family":"Doe","given":"John","static-ordering":false},{"family":"Roe","given":"Jane","static-ordering":false},{"family":"Brown","given":"Robert","static-ordering":false},{"family":"Smith","given":"Tom","static-ordering":false}],"editor":[{"family":"Bloggs","given":"Joe","static-ordering":false},{"family":"Bloggs","given":"Barbie","static-ordering":false}],"id":"item-1","type":"book"}]
    """
    When I cite all items
    Then the result should be:
    """
    5
    """

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
citeproc-1.0.7 features/name/AuthorEditorCount.feature
citeproc-1.0.6 features/name/AuthorEditorCount.feature
citeproc-1.0.5 features/name/AuthorEditorCount.feature
citeproc-1.0.4 features/name/AuthorEditorCount.feature