> > *Lengthy Tests:*
Soon, each API will be pulled out into it's own repository, which means the tests be included with the appropriate API. This should help address your the lengthy test issue, because developing on the File API will be 100% isolated from the other APIs. I think it's good practice to separate distinct features into their own file (and describe function). *Code Quality:* IMHO, test case code should focus more on readability and clarity, than optimization. For Apache Cordova, our code quality is often led by example instead of formalizing syntax format. Jesse, I do like your example code more. Michael On Tue, Aug 14, 2012 at 7:35 PM, Brian LeRoux <[email protected]> wrote: > Can we just split the tests for a specific API surface area, eg File, > to a folder of tests per method? That should help some but I'm not > sure if Jasmine is 'run subset of tests' friendly. > > If it isn't we should... > > make it so. > > > > On Tue, Aug 14, 2012 at 5:01 PM, Patrick Mueller <[email protected]> > wrote: > > On Tue, Aug 14, 2012 at 6:47 PM, Jesse <[email protected]> wrote: > > > >> The Mobile Spec File tests in jasmine contains some 3500+ lines of JS > code. > >> > >> *Lengthy Tests:* > >> > > > > +1 > > > > > >> *Code Quality:* > >> > > > > +1 > > > > -- > > Patrick Mueller > > http://muellerware.org >
