Test Planning by Resource Metrics