3. Cook the risoni in boiling salted water for 8 minutes, drain, and transfer it to an ovenproof baking dish. Stir in the pesto, tomatoes, and half of both the parmesan and basil leaves.