Class ReportGeneratorTest

java.lang.Object
reports.ReportGeneratorTest

public class ReportGeneratorTest extends Object
Unit tests for the ReportGenerator utility.
  • Constructor Details

    • ReportGeneratorTest

      public ReportGeneratorTest()
      Public no-arg constructor required by the test framework.
  • Method Details

    • testGenerateProjectFrequencyReport

      @Test public void testGenerateProjectFrequencyReport()
      Verify the generated project frequency report contains expected keys.
    • testExportReportToJson

      @Test public void testExportReportToJson() throws IOException
      Verify exporting a report to JSON writes a readable file.
      Throws:
      IOException - when file IO fails
    • testExportReportToCsv

      @Test public void testExportReportToCsv() throws IOException
      Verify exporting a report to CSV writes a readable file.
      Throws:
      IOException - when file IO fails