There use to be a property for IProject in older SDK versions that would tell if a project was a test project (I'm basing this on old repos I've browsed in GitHub).
This property appears to have become obsolute. Maybe because VS now supports multiple test libraries.
Anyway, is there a recommended way to tell if a project is a test project? Should I just look at the assembly references?