Test framework

@juberti @andresusanopinto @miguelao @vrk @xians 

Still needs some polishing. :-)
Added draft documentation.

https://github.com/kristijanburnik/webrtc/blob/test-framework/samples/web/content/testrtc/js/webrtctest.readme.md

On Tue, Oct 7, 2014 at 10:54 AM, André Susano Pinto <
notifications@github.com> wrote:

> In samples/web/content/testrtc/js/bandwidth.test.js:
>
> > +/* More information about these options at jshint.com/docs/options */
> > +/* jshint browser: true, camelcase: true, curly: true, devel: true, eqeqeq: true, forin: false, globalstrict: true, quotmark: single, undef: true, unused: strict */
> > +
> > +'use strict';
> > +
> > +// Creates a loopback via relay candidates and tries to send as many packets
> > +// with 1024 chars as possible while keeping dataChannel bufferedAmmount above
> > +// zero.
> > +WebRTCTest
> > +
> > +.testsuite('BandWidth', "Tests Data Channel Throughput")
> > +
> > +// Import the helper
> > +.helper(["Connectivity","asyncCreateTurnConfig"])
> > +.helper(["Connectivity","CEOD_URL"])
> > +.helper(["Connectivity","checkRelay"])
>
> What are helpers trying to achieve?
>
> Also there is no documentation for this test framework, so are developers
> supposed to read the test framework implementation to know how to use it?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/GoogleChrome/webrtc/pull/131/files#r18507320>.
>



-- 
Pozdrav,
Kristijan Burnik