Preheat your oven to 400°F (200°C).
In a baking dish, combine cherry tomatoes, feta cheese, olive oil, and minced garlic. Season with salt and pepper.
Spread everything out evenly in the dish and place it in the oven. Bake for about 30 minutes or until the tomatoes burst and the feta is soft.
Meanwhile, cook the pasta according to package instructions until al dente. Reserve some pasta water, then drain.
Once the baking time is up, remove the dish from the oven. Use a fork to mash the feta and tomatoes together until combined.
Add the drained pasta to the baking dish and toss to combine. If the mixture is too thick, add some reserved pasta water.
Garnish with fresh basil leaves and serve immediately.