That was my original motivation in building HttpUnit¡ but it¡¯s limited JavaScript capabilities don¡¯t support many of today¡¯s complex sites.?
Other than that, the Document-View pattern is your friend.?
-----------------
Author,?Getting Started with Apache Maven <>
Author, HttpUnit <> and SimpleStub <>
Now blogging at <>
Have you listened to Edict Zero <>? If not, you don¡¯t know what you¡¯re missing!
toggle quoted message
Show quoted text
On Jan 2, 2020, at 6:58 PM, Avi Kessner <
akessner@...> wrote:
Test the changes to the model, not the GUI itself.
On Fri, Jan 3, 2020, 00:26 George Dinwiddie <
lists@...> wrote:
Alan,
Way back, I played with test-driving AWT and Java Swing UIs, starting?
with just jUnit. Given the availability of web driver libraries, you can?
do similar things much more easily.
In general, I tested the GUI with a test API to make sure things were?
wired up correctly. I tested the actual API to make sure the system?
worked correctly.
In?
?
you can see an example of re-using a test that drove the API creation to?
check the same result from the GUI by injecting a different adapter to?
talk with the system under test.
??- George
> Alan Baljeu
>?alanbaljeu@...
>?
>?
--?
??----------------------------------------------------------------------
? ?* George Dinwiddie *? ? ? ? ? ? ? ? ? ? ??
? ?Software Development? ? ? ? ? ? ? ? ? ??
? ?Consultant and Coach
??----------------------------------------------------------------------