On Mon, Feb 25, 2013 at 2:58 PM, Kris Borchers <kris@redhat.com> wrote:

On Feb 25, 2013, at 7:57 AM, Matthias Wessendorf <matzew@apache.org> wrote:



On Mon, Feb 25, 2013 at 2:27 PM, Kris Borchers <kris@redhat.com> wrote:
I'm not sure how I feel about this. On the one hand, I like the idea of some server app somewhere that I can do my integration tests against since having someone contributing to JS deploy a server themselves to be able to run or add to integration tests is a blocker. On the other hand, this is another piece for us to maintain.


yes - tests need to be maintained :) 
Obviously tests need to be maintained :P  I was talking about another server piece running out in the world that would have to be kept up to date and running at all times.


Two things:
- client side test app (for each platform)
- a 'test server' app (e.g. some restful endpoint). 

IMO having integration tests is a quality plus, mocking is OK, but I usually trust real servers a bit more :) 


 

 

On Feb 25, 2013, at 4:27 AM, Christos Vasilakis <cvasilak@gmail.com> wrote:

> Hi,
>
> for testing of timeout[1] and cancel[2], apart from the unit tests (that used a mocked http), I have updated our iOS integration tests to go against a simple server app[3] that does a "sleep" on the requests methods so I can properly verify the methods do work [both in iOS 5/6].
>
> Because as I understand, the "sleep" simulation applies to other platforms too, what should we do for this case? Have a branch on the "TODO" app eg. "TODO-integration" that will be used in our integration tests, or have a different server application for that purpose.
>
> wdyt?
>
> Thanks,
> Christos
>
> [1]  https://issues.jboss.org/browse/AEROGEAR-931
> [2]  https://issues.jboss.org/browse/AEROGEAR-898
> [3] https://github.com/cvasilak/RESTfulExample
>
>
>
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev


_______________________________________________
aerogear-dev mailing list
aerogear-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev



--
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf _______________________________________________


_______________________________________________
aerogear-dev mailing list
aerogear-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev



--
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf