testing ones mettle

Testing ones mettle means to be prepared to accept a challenge and do your best during the challenge. If you are testing someones mettle, you are telling them to be as prepared as possible to accept this challenge or other type of problematic situation, and once they have made their preparations, they should do their very best during the challenge in order to have a successful outcome.