Sha256: b1e772b0f5b7901f298d2444862e85f415428e6a6cd2e76d72edfd7623cabcfb

Contents?: true

Size: 1.19 KB

Versions: 4

Compression:

Stored size: 1.19 KB

Contents

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

  @citation @name
  Scenario: Author Count With Multiple Variables
    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":"Noakes","given":"John","static-ordering":false},{"family":"Stoakes","given":"Richard","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/AuthorCountWithMultipleVariables.feature
citeproc-1.0.6 features/name/AuthorCountWithMultipleVariables.feature
citeproc-1.0.5 features/name/AuthorCountWithMultipleVariables.feature
citeproc-1.0.4 features/name/AuthorCountWithMultipleVariables.feature