vvasianovych / cleancode

CleanCode - is the plugin for create, publish, and processing code review in your projects.This is the first project, that I started by myself. Here I learn tasks handling, and other things for correct project controlling.
1 stars 0 forks source link

add first test. For the first page of the wizard. #18

Closed vvasianovych closed 12 years ago

vvasianovych commented 12 years ago

I don't know yet, how we can test GUI elements. But we need it. Try to come up with ideas about GUI testing.

vvasianovych commented 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?