Okay so I've been doing research on this topic for about a week now.
Based on everything I've read and tried to do unit testing properly we basically have create a unit testing framework in GWT, something akin to JUnit. Then we use Selenium to do the basic check to see if the test was passed or not.
Something similar to what you have in the showcase when the autotest flag is set:
http://www.smartclient.com/smartgwt/...tured_category
Other options include:
Mocking 'broken' SGWT classes in GWTTestCase
Put extensive work to 'push' methods up to a point where they are visible to Selenium
So the question is, is there another option? Creating a JUnit like testing framework in SGWT is viable but non-trivial, do you have any suggestions on how to create such a framework? It seems like Isomorphic already has a relatively robust testing framework.
Also what is this 'runStyle' option in GWT? I tried it out in Eclipse but it didn't seem to do anything, could you explain in a little more detail?
Thanks!
Related post:
Related Docs:
http://www.smartclient.com/smartgwte...edTesting.html
Based on everything I've read and tried to do unit testing properly we basically have create a unit testing framework in GWT, something akin to JUnit. Then we use Selenium to do the basic check to see if the test was passed or not.
Something similar to what you have in the showcase when the autotest flag is set:
http://www.smartclient.com/smartgwt/...tured_category
Other options include:
Mocking 'broken' SGWT classes in GWTTestCase
Put extensive work to 'push' methods up to a point where they are visible to Selenium
So the question is, is there another option? Creating a JUnit like testing framework in SGWT is viable but non-trivial, do you have any suggestions on how to create such a framework? It seems like Isomorphic already has a relatively robust testing framework.
Also what is this 'runStyle' option in GWT? I tried it out in Eclipse but it didn't seem to do anything, could you explain in a little more detail?
Thanks!
Related post:
Originally posted by Isomorphic
View Post
Originally posted by Isomorphic
View Post
http://www.smartclient.com/smartgwte...edTesting.html
Comment