
Get ready. Preheat oven to 250°F (120°C). Place cherry tomatoes in a medium baking dish or oven-safe skillet in a single layer. Tuck garlic cloves and herb sprigs among the tomatoes. Pour in olive oil until the tomatoes are mostly submerged. Sprinkle with salt.
Confit the tomatoes. Roast, uncovered, until tomatoes are wrinkled and completely tender but not falling apart, about 2 hours.
Cool and store. Transfer tomatoes and oil to a clean, sterilized jar or airtight container. Store in the fridge for up to 1 week or the freezer for up to 3 months, making sure tomatoes remain covered in oil to reduce the risk of bacterial growth.