Chop the tomato and onion.
Boil the whole wheat pasta in boiling water.
Heat olive oil in a pan and sauté the onion.
Add the chopped tomato to make the sauce.
Mix the cooked pasta with the sauce.
Season with salt and pepper.
Place the finished pasta on a plate.