On 2 April 2015 at 09:09, Garth N. Wells <gn...@cam.ac.uk> wrote: > On Wed, Apr 1, 2015 at 5:12 PM, Robert Kirby <robert_ki...@baylor.edu> > wrote: > > David, > > The right choice is, of course, > > > > c.) Write tests for everything > > > > > > However, if you'd like to write tests for your own additions, just use > the > > Framework of Your Choice. > > Use pytest since we've been moving other FEniCS components over to pytest. > > That's a happy coincidence. Firedrake is already totally pytest so that's what I used.
> Garth > > > > This might inspire someone to mooch the patterns > > you put in place to create similar tests for the rest. Someday :) > > > > Best, > > Rob > > > > > > > > > > On 04/01/2015 09:58 AM, David Ham wrote: > > > > Greetings all, > > > > I am currently implementing new quadrature rules and new 1D elements in > FIAT > > in order to support spectral element in FInAT. I notice that FIAT does > not > > currently have a functional unit testing framework. Do I: > > > > a. Just not write tests, or > > > > b. Write tests for my additions? > > > > If b., which testing framework do I use? > > > > Many thanks, > > > > David > > > > -- > > Dr David Ham > > Departments of Mathematics and Computing > > Imperial College London > > > > http://www.imperial.ac.uk/people/david.ham > > > > > > _______________________________________________ > > fenics mailing list > > fenics@fenicsproject.org > > http://fenicsproject.org/mailman/listinfo/fenics > > > > > > > > _______________________________________________ > > fenics mailing list > > fenics@fenicsproject.org > > http://fenicsproject.org/mailman/listinfo/fenics > > > _______________________________________________ > fenics mailing list > fenics@fenicsproject.org > http://fenicsproject.org/mailman/listinfo/fenics > -- Dr David Ham Departments of Mathematics and Computing Imperial College London http://www.imperial.ac.uk/people/david.ham
_______________________________________________ fenics mailing list fenics@fenicsproject.org http://fenicsproject.org/mailman/listinfo/fenics