Closed GernotMaier closed 2 weeks ago
To make it clearer, this is the current test matrix:
Test | Software | Site | ParticleID | PackforGrid | Primary |
---|---|---|---|---|---|
simulate_prod_gamma_20_deg_North | corsika_simtel | North | simtools | No | gamma |
simulate_prod_gamma_20_deg_North_corsika | corsika | North | simtools | No | gamma |
simulate_prod_gamma_20_deg_North_corsika_corsika_particle_id | corsika | North | corsika | No | gamma |
simulate_prod_gamma_20_deg_North_corsika_pdg_particle_id | corsika | North | PDG | No | gamma |
simulate_prod_gamma_20_deg_North_for_trigger_rates | corsika_simtel | North | simtools | No | proton |
simulate_prod_gamma_20_deg_North_pack_for_grid | corsika_simtel | North | simtools | Yes | gamma |
simulate_prod_gamma_20_deg_South | corsika_simtel | South | simtools | No | gamma |
simulate_prod_gamma_20_deg_South_for_trigger_rates | corsika_simtel | South | simtools | No | proton |
simulate_prod_gamma_20_deg_South_pack_for_grid | corsika_simtel | South | simtools | Yes | gamma |
I don't think this is necessary and my suggestion is to reduce it to:
Test | Software | Site | ParticleID | PackforGrid | Primary |
---|---|---|---|---|---|
simulate_prod_gamma_20_deg_North | corsika_simtel | North | simtools | Yes | gamma |
simulate_prod_gamma_20_deg_North_corsika_corsika_particle_id | corsika | North | corsika | No | gamma |
simulate_prod_gamma_20_deg_South_pack_for_grid | corsika_simtel | South | simtools | Yes | gamma |
simulate_prod_gamma_20_deg_South_for_trigger_rates | corsika_simtel | South | PDG | No | proton |
This would cover enough a broad range of combinations without too much duplication.
Feedback?
@tobiaskleiner / @orelgueta - could you have a quick look at above suggestion to reduce the number of long integration tests? These are duplicated tests in my opinion, and we could add a bit of speed to the tests (which I really think is important for the development)
@GernotMaier looks safe to remove these tests.
Integration tests are a bit slow (in github: 25-35 min) and we might want to tune a bit:
Dominated by the testing of the production tool:
simulate_prod_gamma_20_deg_North_corsika.yml
,simulate_prod_gamma_20_deg_North_corsika_pdg_particle_id.yml
, andsimulate_prod_gamma_20_deg_North_corsika_corsika_particle_id.yml
is that the particle ID is given in a different system. But this is tested in the corresponding unit tests (check!) and should not require to run a small set of test simulationssimulate_prod_gamma_20_deg_North.yml
andsimulate_prod_gamma_20_deg_North_for_trigger_rates.yml
is the one is running with gamma and other with proton. Is this really something we need to test?(to be clear: we need to test as much as possible; but we won't learn from duplication)