Cut zucchini, eggplant, tomato, and onion into bite-sized pieces.
Drizzle olive oil in a pan and sauté the onions first.
When the onions turn translucent, add the zucchini and eggplant and stir-fry.
Add the tomatoes and season with salt and pepper.
Simmer on low heat until all the ingredients are fully cooked.