DickinsonCollege / FD2School-FarmData2

Other
0 stars 25 forks source link

Seeding Report: Test Tray Seeding Summary Values #36

Open braughtg opened 5 months ago

braughtg commented 5 months ago

When a Seeding Report that contains tray seedings is generated, a Tray Seeding Summary table appears below the table. This summary contains data that is computed from the data in the table.

This test must check that the values reported for the following quantities agree with the data in the table:

Notes:

Additional Information:

Some additional notes relevant to this issue:


Original issue by braughtg Tuesday Apr 11, 2023 at 04:44 GMT

theahegde commented 2 months ago

It is not clear by what "the sample data" refers too. Is this the data given in the Tree Seeding Summary Table? Could you please elaborate on where we can find this in FarmData. - Team Anaf

braughtg commented 2 months ago

It is not clear by what "the sample data" refers too. Is this the data given in the Tree Seeding Summary Table? Could you please elaborate on where we can find this in FarmData. - Team Anaf

The sample data is minimum of 3 tray seeding logs that appear in the main table in the report. The values that appear in the summary table are computed from these logs. You will need to manually compute the expected summary values from the table. Then use these manually calculated values as the expected values in your tests.

anlai46 commented 2 months ago

Got it, so we are just comparing the expected values that we compute by hand for the four quantities with the actual summary values that are generated which is the sample data. Thanks for clarifying that for us. -Team Anaf