[py-dev] Newbie with couple of questions
Maciek Fijalkowski
fijal at genesilico.pl
Fri Feb 16 10:27:03 CET 2007
Michael Hipp wrote:
> I'm looking seriously at py.test for my testing needs. Couple of questions:
>
Nice :)
> - Is there a "Users" list somewhere? (I wouldn't want to clog up a dev list
> with lots of messages like this one.)
>
Nope, but there is #pylib IRC channel on freenode. You're welcome to
send posts here.
> - Can test_ files be kept in a subdirectory of the project (i.e. keep tests in
> /projects/myproj/tests rather than in /projects/myproj)?
>
Yes, they could be in any subdirectory of place where you execute
py.test (even path would be right). In pylib itself tests are usually in
testing subdirectory of each directory.
> - Is there a mechanism for detecting messages (in similar manner to detecting
> exceptions) when using a publish-subscribe scheme to decouple the MVC pieces
> in an application? Specifically I'm using lib.pubsub from wxPython.
>
There is no such mechanism. Although I think that it's quite easy to
create one (even in your project directory using conftest.py magic)
Cheers,
Fijal
More information about the py-dev
mailing list