title: How can I test a jasper report?
body: <p>I want to test all the jasper reports of my application. I want to be able to detect:</p>
  
  <ul>
  <li>Compilation problems (Would checking that <code>JasperCompileManager.compileReport(some inputStream)</code> doesn´t throw <code>JRException</code> is a good option for this?)</li>
  <li>Filling problems (Would checking that <code>JasperFillManager.fillReport(someReport, someParameters, someDataSource)</code> doesn´t throw <code>JRException</code> is a good option for this?)</li>
  <li>Rendering problems: detect "null" strings appearing, text looking truncated in the exported PDF file</li>
  <li>Any other idea?</li>
  </ul>
  
  <p>Ideally I would like to keep the testing process the most generic possible. The thing is that each jasper has a different data source so for detecting this errors i need to generate at list some data (right?) and this data I need to generate is different for each jasper of my application. So i don´t know how much testing code I  would be able to reuse. What approach would you take?</p>
  
  <p>Thanks!</p>