Preheat oven to 400. Line 10-inch tart pan with pastry dough.
Spread bottom of pastry with light layer of cheese and sprinkle generously with basil. Cover with tomato slices evenly. Sprinkle tomatoes with salt and pepper and drizzle with olive oil. Repeat layers of cheese, basil, tomatoes, salt, pepper, and olive oil.