[Dev] HelpUs project: repository testing
Andi Vajda
vajda at osafoundation.org
Fri Feb 20 21:18:24 PST 2004
> Is there a primer for injecting a unittest into hardhat?
Not that I know of. But you can look at chandler/repository/tests for
examples.
> Also, is there a way to get hardhat to execute a standalone .py file in
> the chandler environment?
Yes, hh <file.py>
And for unit tests, even hh -t <test1> ...<testn>
By default, hh -t runs all tests in the current directory.
Andi..
>
> thanks,
> bear
>
> Kaitlin Duck Sherwood wrote:
>
> > OSAF's Chandler repository code is now stable enough that we could
> > really profit from community assistance. In particular, we could use
> > help writing regression tests for the repository. We have some
> > already, described at
> >
> >
> > http://wiki.osafoundation.org/twiki/bin/view/Chandler/RepositoryUnitTests
> >
> > but having more tests would be great. In particular, we could use
> > some performance tests.
> >
> > This project separates nicely into a number of smaller projects:
> > * Document what tests are already in place at a more fine-grained
> > level (at above URL)
> > * Make a list of additional tests that ought to exist (at above URL)
> > * Write tests
> >
> > Each of those three pieces have a granularity of one test: documenting
> > even one test would be useful to us; adding even one proposed test to
> > the list would be useful to us; writing even one test would be useful
> > to us.
> >
> > This can be a very low overhead project. Heck, even just mailing
> > Python code to dev at osafoundation.org would be fine!
> >
> >
> > Ted Leung ("sprout") is the main OSAF contact person for this
> > project. You can reach him at twl at osafoundation.org or mail straight
> > to dev at osafoundation.org.
> >
> >
> > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> >
> > Open Source Applications Foundation "Dev" mailing list
> > http://lists.osafoundation.org/mailman/listinfo/dev
>
>
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> Open Source Applications Foundation "Dev" mailing list
> http://lists.osafoundation.org/mailman/listinfo/dev
>
More information about the Dev
mailing list