title: why xunit not allow test a method with parameters?
body: <p>I am learning to use unit test, i create a project, add xunit reference.
  And following codes:</p>
  
  <pre><code>namespace UnitTestProject
  {
      public partial class Form1 : Form
      {
          public Form1()
          {
              InitializeComponent();
          }
  
          [Fact]
          private void test(int number1, string number2)
          {
  
              int result = number1 + Convert.ToInt32(number2);
              Assert.IsType(Type.GetType("Int32"), result);
          }
          private void Form1_Load(object sender, EventArgs e)
          {
  
          }
      }
  }
  </code></pre>
  
  <p>When i run the test using xunit gui tool, it said:</p>
  
  <blockquote>
    <p>UnitTestProject.Form1.test : System.InvalidOperationException : Fact
    method UnitTestProject.Form1.test cannot have parameters Stack Trace: 
    於 Xunit.Sdk.FactCommand.Execute(Object testClass)<br>
    Xunit.Sdk.FixtureCommand.Execute(Object testClass)<br>
    Xunit.Sdk.BeforeAfterCommand.Execute(Object testClass)<br>
    Xunit.Sdk.LifetimeCommand.Execute(Object testClass)<br>
    Xunit.Sdk.ExceptionAndOutputCaptureCommand.Execute(Object testClass)</p>
  </blockquote>
  
  <p>So, how can i test the method/function with parameters?</p>