Hello all, We've been trying to add unit tests to our GWT project but it always seems too much of a hassle. Building the project takes 10min and as I understand the tests are run after that. Unit tests are suppose to run within seconds, not minutes. So I had an idea: write the tests into the client side code and launch their execution with assert. If the asserts are enabled for the client side code, the tests are run. This would allow us to develop client side code and enjoy the benefits of both unit testing and the development mode's fast refreshes. There would be a relatively clean separation between test and production code because of assert which is disabled by default.
How feasible do you think this idea is? Do you see any obvious problems with it? Have you ever heard that some team has done something like this? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
