Closed balacmi closed 3 years ago
Hey Raoul,
I have removed a lot of stuff from the config in the examples, as the config included everything. However, I cannot invest time now to only include the "needed" stuff. Do you have the time to do that? Or make an issue that should solve this in the future?
Can it then be put into /examples/ in an appropriate folder? Still, I believe it should be run-able with the default run class.
What about the config, most default values don't have to be repeated, surely? I don't mind Corsica's config including everything.
But test/resources
is a standardized folder while examples
is some random folder next to the standard layout. I'm not sure how to reliably reference the files in there from the unit tests. Things that are used as a unit test should be available as a test resource to make use of resource resolution etc.
Fine, do as you please. I just kindly ask you to clean up once you are done. I had spent quite some time to remove scenario-dependent code and would prefer that scenario-dependent code does not float about in the master branch.
Ok maybe there is a misunderstanding about the purpose. This scenario is used in a unit test that needs to pass before anything can be merged to the repository. Ideally, this would be even automatically. I think I cannot activate Travis for this repository here (it's probably on the organization level). Then you could only merge anything once the tests (unfortunately, now we only have this one) have all passed. So all the files to run the test case are included in the repository. Corsica is just an example for now, we can replace it with some generic "TestScenario" on a grid or something like this. But surely there must be tests.
Well it doesn't need to be Corsica, but some meaningful test should be there, otherwise every time we refactor or change something we do it blindly :)