In a large skillet, saute onion in oil until tender. Add tomatoes, basil, sugar, salt and pepper. Simmer, covered, for 10 minutes. Add zucchini; cook, covered, for 15 minutes or until tender. For dumplings, combine egg and cheese. Drop by tablespoons onto tomato mixture. Simmer, covered, for 5 minutes or until dumplings are firm.