Bring a large pot of water to a boil. Add a generous pinch of salt, followed by the pasta. Cook just until al dente, according to package directions, then drain the pasta and set aside.
1 pound dried cavatappi pasta, pinch kosher salt
While pasta cooks, make the sauce. Warm olive oil in a large skillet over medium-high heat. When the oil is hot and shimmering, add the sliced mushrooms. Cook for 3-4 minutes, until the mushrooms have released some liquid, and that has mostly evaporated. Add garlic and cook for 30-60 seconds, just until fragrant.
1 Tablespoon olive oil, 8 ounces sliced mushrooms, 2-3 cloves garlic
Pour in the broth and wine. Simmer for another 2-3 minutes, until slightly reduced.
1/4 cup chicken or vegetable broth, 1/4 cup dry white wine
Reduce heat to medium-low, then stir in the cream and simmer for 1 minute more. Stir in the pesto, Parmesan, and black pepper, followed by the tomatoes. Sample and add more salt and pepper to taste.
1/4 cup heavy cream, 1 cup basil pesto, 1/2 cup grated Parmesan cheese, 6-8 cranks freshly-ground black pepper, 1-2 cups cherry or grape tomatoes
Stir in the drained pasta and toss to mix well. Serve with more Parmesan, fresh basil, or other herbs as desired.