java - How can I test a jasper report? -


I want to test all Yashppa reports of my application. I have to find out that:

  • Compilation problems (which should check JasperCompileManager.compileReport (some inputstream) JRException does not throws Is there a good option for this?)
  • Filling problems (it will check that does not enter JasperFillManager.fillReport (some reports, some parameters, some data sources) Code> JRException
  • Any other ideas?
  • Problems with rendering: "Null" string starts appearing, Typing text in e pdf file
  • Ul>

    Ideally, I would like to keep the testing process as the most common possible thing. The thing is that each success story has a different data source so this error To find out I need to generate some data in the list (right?) And I need to generate this data different for every application of my application, so I do not know how much I The code will be able to reuse the code. Which approach will you consider?

    Thank you!

For compile problems, one approach would be to use the IReport tool and compile all report templates successfully Are; Assuming you are using a template and then making data in it.

I found the following link useful,

Hope that helps,

Manju


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -