title: Specflow Parametrized Whole Table
body: <p>I am writing a test and I want to reuse it hence I am trying to parametrize a Whole Table. The table sits in my 'Then' Statement and depending on the team is the table that needs to be validated. </p>
  
  <p>At the moment my Scenario Outline looks like this: </p>
  
  <pre><code>Given &lt;teamName&gt; uses this end point
  And the response is a Json
  When I perform a query to http:...
  Then I validate all the fields I need:
  |DataElement|Validation                     |jsonPath           |
  |element1   |validate that it is not null   |data.structure.path|
  |element2   |validate a name                |data.structure.name|
  </code></pre>
  
  <p>So I know I could validate each Row by parametrizing the data inside the table:</p>
  
  <pre><code>|DataElement|Validation                     |jsonPath           |
  |&lt;value&gt;    |&lt;Specific validation performed&gt;|&lt;Json Path to query|
  </code></pre>
  
  <p>and then do examples</p>
  
  <p>But as depending on which team uses this same end point, the Data Elements and validations required are very different so I want to parametrize the WHOLE table object as in:</p>
  
  <p>Then I validate all the fields I need:</p>
  
  <pre><code>&lt;TeamTable&gt;
  
  Examples:
  |Team A Table|
  |DataElement|Validation                     |jsonPath           |
  |element1   |validate that it is not null   |data.structure.path|
  |element2   |validate a name                |data.structure.name|
  |element1   |validate age is valid          |data.structure.age |
  
  
  |Team B Table|
  |DataElement|Validation                     |jsonPath                |
  |element1   |validate is a Date             |data.structure.date     |
  |element2   |validate something more        |data.structure.something|
  |element1   |validate US postcode           |data.structure.postcode |
  </code></pre>
  
  <p>Is it possible? How can I parametrize a whole table?</p>