Closed vvasianovych closed 12 years ago
I don't know is it enough to check parent composite objects in the page, table, etc. But at this time it's enough, i think. Anyway, its only tests, so the main goal for it - make sure that everything is fine. But without fanaticism. For this task I made test for first page. The main idea is "Are the Table on the page". So, If Composite object, that has been passed to the createControl() meethod of the page is the parent object for the Table (passed to the builder) - I think, that this is enough.
And one more idea - Really cool technique - make comments for tests. If you do it - you will have really fresh understanding - does your test is necessary in general?
I don't know yet, how we can test GUI elements. But we need it. Try to come up with ideas about GUI testing.