← Back to team overview

dolfin team mailing list archive

Re: [Branch ~dolfin-core/dolfin/main] Rev 5704: Add Face.py unit test.

 

On Saturday February 26 2011 11:13:48 Garth N. Wells wrote:
> On 26/02/11 18:52, Johannes Ring wrote:
> > On Sat, Feb 26, 2011 at 10:49 AM, Garth N. Wells <gnw20@xxxxxxxxx> wrote:
> >> I've added a separate file for a unit test of a particular class to
> >> test/unit/mesh/python. Having just one test file for something like the
> >> mesh library is getting bit out of hand. More files will make it easier
> >> to survey coverage.
> >> 
> >> Johannes: could you modify the test script such that it runs all foo.py
> >> scripts in a test directory?
> > 
> > Yes, I can take a look at that, but probably not before Monday.
> 
> Great.
> 
> I'm thinking now that the best approach may be to provide a list of test
> files in each directory that we want to run. The advantage of this is
> that we can control the order. It makes sense the run basic tests first,
> followed by test with more dependencies, e.g. run Mesh tests before
> testing refinement since if Mesh is broken, refinement obviously won't
> work.

Sounds very good!

Johan

> Garth
> 
> > Johannes
> > 
> >> Garth
> >> 
> >> On 26/02/11 09:44, noreply@xxxxxxxxxxxxx wrote:
> >>> ------------------------------------------------------------
> >>> revno: 5704
> >>> committer: Garth N. Wells <gnw20@xxxxxxxxx>
> >>> branch nick: dolfin-all
> >>> timestamp: Sat 2011-02-26 09:41:43 +0000
> >>> 
> >>> message:
> >>>   Add Face.py unit test.
> >>>   
> >>>   Some of the unit test files are getting too long and confusing. I
> >>>   suggest that we add a test.oy file for each class - it will be a lot
> >>>   of files, but it makes it easy to handle the tests class-by-class.
> >>> 
> >>> added:
> >>>   test/unit/mesh/python/Face.py
> >>> 
> >>> modified:
> >>>   dolfin/mesh/Point.h
> >>> 
> >>> --
> >>> lp:dolfin
> >>> https://code.launchpad.net/~dolfin-core/dolfin/main
> >>> 
> >>> Your team DOLFIN Core Team is subscribed to branch lp:dolfin.
> >>> To unsubscribe from this branch go to
> >>> https://code.launchpad.net/~dolfin-core/dolfin/main/+edit-subscription
> >> 
> >> _______________________________________________
> >> Mailing list: https://launchpad.net/~dolfin
> >> Post to     : dolfin@xxxxxxxxxxxxxxxxxxx
> >> Unsubscribe : https://launchpad.net/~dolfin
> >> More help   : https://help.launchpad.net/ListHelp
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~dolfin
> Post to     : dolfin@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dolfin
> More help   : https://help.launchpad.net/ListHelp



References