Preheat the oven to 180°C conventional (160°C fan-forced).
In a large, deep roasting dish, place the whole cherry tomatoes, butter beans, red peppers, zucchini, capers, garlic, parsley and olive oil. Season well. Roast for 25–30 minutes until the tomatoes are soft. If they are colouring too much, turn your oven down to 160°C conventional (140°C fan-forced).
Meanwhile, bring a large pot of salted water to the boil. Cook your pasta until al dente. Drain, reserving about 1/2 cup of the pasta cooking water. Set aside.
Remove the dish from the oven and use a fork to crush the ingredients and let out all the juices. Add the cooked pasta and stir through. Add a little of the pasta water if it seems too dry. Stir through the spinach and season – be careful not to add too much salt as the capers are naturally salty.
Serve in bowls and top with parmesan cheese and basil, if desired.