Just noticed i can mock units when doing this in a dpr file:

Just noticed i can mock units when doing this in a dpr file:

MyUnit in 'MyUnit.Mock.Pas'

Comments

  1. Indeed! You can also use different search paths per build configuration, if the units are not listed in the DPR. Another approach is Unit Scope Names. Each solution depends on the circumstances.

    ReplyDelete
  2. I confess to not understanding this. Can someone explain it in a little more detail?

    Thx

    ReplyDelete

Post a Comment