I am learning TDD in Delphi and I have a project group in which there are two projects: MyProject and MyProjectsTests. The last one will be responsible for the storage of all unit tests and it is using DUnitX's project template. Below is the current structure of my project group:
\MyProjectGroup
\MyProject
\Classes
MyClass.pas
\MyProjectTests
\Tests
MyClassTest.pas
In MyClassTest unit, how can I use MyClass unit from MyProject? While using CTRL+SHIFT+A hotkey, my IDE finds the unit and adds it to the uses clauses, but MyProjectTests won't compile and reports
Unit 'MyClass' not found
Obviously I need to import it to MyProjectTests, but how?