In outdoor rock climbing smacking rocks is an integral part of ensuring the rock you're trusting your life with is in fact worth trusting your life with.
Most folks in Europe climb only sport routes, or then do some variant of proper alpinism once on wild unsecured terrain.
It is a bit more than that, but there is no objective foolproof test, no.