> but what if user rely on convention to use his namespace not based on Yii alias? i mean tests\unit... when there is no @tests alias? Or we can skip this as almost always there will be same named alias?

This is a (reasonable) requirement that we need to make.