-
Hello! I have several components that I'd like to put in their own repository, with their own tests, for re-use by several other projects. These several projects may wish to use different releases of FPrime.
A particular vehicle has its own repository
Will this cause problems? I want vehicle 1 to use fprime release B, and ignore fprime release A. Also, I'd like to be able to run vehicle 1's unit tests without running all of the base project's unit tests, since the base project will have its own CI. How have you managed this? Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
The way we usually manage shared components is through the use of F´ libraries See a few examples:
So in your case it could look like
Using different versions of F´ can work with this approach, as long as your shared components are compatible with both versions. |
Beta Was this translation helpful? Give feedback.
You can define test just like in a regular project, and run them when you include the library in a project. I don't think we are able to run tests outside of a concrete project just yet. But that would definitely be a good feature request.