Class ReportGeneratorTest
java.lang.Object
reports.ReportGeneratorTest
Unit tests for the
ReportGenerator utility.-
Constructor Summary
ConstructorsConstructorDescriptionPublic no-arg constructor required by the test framework. -
Method Summary
Modifier and TypeMethodDescriptionvoidVerify exporting a report to CSV writes a readable file.voidVerify exporting a report to JSON writes a readable file.voidVerify the generated project frequency report contains expected keys.
-
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
Verify exporting a report to JSON writes a readable file.- Throws:
IOException- when file IO fails
-
testExportReportToCsv
Verify exporting a report to CSV writes a readable file.- Throws:
IOException- when file IO fails
-