title: Visual studio parameterized unit test like java
body: <p>In a Java test environment I can use parameterized unit tests as in the following code:</p>
  
  <pre><code>@RunWith(value = Parameterized.class)
  public class JunitTest6 {
  
      private int number;
  
      public JunitTest6(int number) {
          this.number = number;
      }
  
      @Parameters
      public static Collection&lt;Object[]&gt; data() {
          Object[][] data = new Object[][] { { 1 }, { 2 }, { 3 }, { 4 } };
          return Arrays.asList(data);
      }
  
      @Test
      public void pushTest() {
          System.out.println("Parameterized Number is : " + number);
      }
  }
  </code></pre>
  
  <p>How can I do this in a Visual Studio unit test project? I can`t find any parameterized attribute or any sample like this.</p>