[Design/Tests] : redesign AS7 generators in order to improve testability ; validating the whole data flow without cmake's frontend #44
Labels
enhancement
New feature or request
refactoring/maintanability
Refactoring code and provide smarter ways of doing things/ more maintanable concepts
Write more tests that allow to generate blank AtmelStudio/MicrochipStudio files from a blank model, without having to rely on the whole tryCompile machinery.
I think this will require to redesign parts of the code inheritance scheme, as we are heavily relying on CMake cmGlobalGenerator, cmLocalGenerator implementations where we could (and should) decouple the code much more than this.
At the moment, the code for this project is kept under objects derived from cmGlobal/LocalGenerator classes. This does not play well with unit testing, .
We'd better extract the domain code from AtmelStudio7 generators and use composition patterns instead, in order to decouple the domain code from CMake's interfaces and provide bridging capabilities from the generator itself.
The text was updated successfully, but these errors were encountered: