traditionally when unit/integration testing data access in application (CRUD), a test would be: @Test public void testInsertSucceeds(){
// 1- insert this record to DB //2- find the inserted record, to check its actually inserted //3- delete the inserted record, to keep the DB in clean state and also to test delete } however, with Asynchronous calls as is the case with RequestFactory, there is no guarantee on the order the requests are processed. when inserting 10 records, and issuing a query to get them back, to verify, we might be in the middle of inserting records, but the subsequent call to retrieve the records are executed without the first call being completed. do you have any advice on what is the correct way to unit test/integration test with RequestFactory ? Thank You -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.