title: Why does TestNG ignoring my tests when I use constructor inside of the test class?
body: <p>During TestNG test run I've found out that if I want to init some fields using constructor - test class doesn't run any tests:</p>
  
  <pre><code>Default Suite
  Total tests run: 0, Failures: 0, Skips: 0
  </code></pre>
  
  <p>But when I remove the constructor - test class runs just fine.
  What I've tried to solve the issue:</p>
  
  <ol>
  <li>Removed DataProviders - did not help.</li>
  <li>Removed the @Test annotation on class - did not help.</li>
  </ol>
  
  <p>Debug didn't help since it doesn't even go into constructor.</p>