How to measure the minimum and recommended specs to run my game?

So, it’s something measured by just testing - there’s not a tool to help with this, right?