For the pesto, wash the herbs and chop them coarsely. Roast the pine nuts. Peel and chop the garlic. Puree the prepared ingredients, parmesan and oil with the cutting stick of the hand mixer. Season with salt and pepper.
Leave covered to draw. Clean and wash the beans, cut them into small pieces and cook in boiling salted water for 12-15 minutes. Meanwhile cook spaghetti in boiling salted water for about 10 minutes. Wash and slice the tomato.
Melt the fat. Fry the tomatoes, drained beans and spaghetti in it. Serve garnished with pesto and fresh herbs.