We are building and deploying a few system using the AWS CDK Pipeline, mostly with dotnet
Most cases we are building the deployed apps using dockerfile assets referenced in the CDK
Should we run the tests in the dockerfile, next to the code?
Or should they be ran as its own custom step ahead of the actual asses building?
Or any other option I missed?