[Sugar-devel] [web-activity] functional tests and env.isStandalone's current implementation

Rogelio Mita rogeliomita at activitycentral.com
Thu Dec 19 15:48:13 EST 2013


All sugar-web's tests are running into activityweb container, using
sugar-web-test activity, all url requests which they do, have "http"
scheme, and our current implementation of isStandanlone makes check on the
current scheme of the request given (isStandalone
method<https://github.com/sugarlabs/sugar-web/blob/master/env.js#L40>),
then... functional tests believe are in standalone mode when they use
isStandalone method. Mocking this method on unit tests is ok... but we
think is not good idea mocking this on functional tests... or yes???

Thoughts:
think alternative implementation for this method?
hacking the scheme from sugar-web-test?

What do you think?

Best regards!

-- 
Roger

Activity Central <http://activitycentral.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20131219/63cb297b/attachment.html>


More information about the Sugar-devel mailing list