How do I compute test metrics for a model?

Test metrics will be computed only when you have provided the test data. If not, you will most likely see only the train metrics.