Elegant way to create separate DARs for building and testing?

The most robust and cleanest solution is to have two projects, one for your actual code and then a separate project for your tests that depends on the DAR of the main project via dependencies.
However, that can be a bit inconvenient for testing so there are some ways around that by making use of the source field. I’ve described that approach in How to build dars but not include scenarios?.

6 Likes