Having purchased a used lens over the internet it would be useful to test the lens for resolution and f-stop at different apertures and the shutter at different shutter speed settings.

Is there a step-by-step procedure or maybe a description of the best way to perform such tests? My thought at this point is to use a digital 35mm camera mounted in place of the film holder on a view camera to perform the tests. Would this yield decent results for all tests?