Re: [Zope3-Users] zope.testing question

2009-06-03 Thread Chris Withers
Kent Tenney wrote:
> My question had to do with checking out zope.testing without pulling
> in the entire trunk.

Then you want:

svn://svn.zope.org/repos/main/zope.testing/trunk/

You certainly don't want svn://svn.zope.org/repos/main/Zope/trunk/, as 
that's Zope 2...

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] zope.testing question

2009-06-03 Thread Chris Withers
Kent Tenney wrote:
> to check out zope.testing I've tried ending this command a number of ways,
> without success.
> $ svn co svn://svn.zope.org/repos/main/Zope/trunk/<...>

Why are you doing this rather than using the buildout.cfg I gave you?

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] zope.testing question

2009-06-02 Thread Kent Tenney
On Tue, Jun 2, 2009 at 4:56 AM, Marius Gedminas  wrote:
> On Mon, Jun 01, 2009 at 10:21:56AM -0500, Kent Tenney wrote:
>> On Sun, May 31, 2009 at 2:39 PM, Chris Withers  
>> wrote:
>> > Kent Tenney wrote:
>> >>
>> >> "zope.testing uses buildout. To start, run python bootstrap.py.
>> >> It will create a number of directories and the bin/buildout script.
>> >> Next, run bin/buildout. It will create a test script for you. Now, run
>> >> bin/test to run the zope.testing test suite."
>> >>
>> >> $ python bootstrap.py
>> >>
>> >> fails for lack of buildout.cfg
>> >>
>> >> What am I missing?
>> >
>> > That bit of documentation is appalling.
>>
>> So it would be good if I removed that section from
>> http://svn.zope.org/zope.testing/trunk/README.txt
>> ?
>
> Better rename it to make it clear it's talking about developing the
> zope.testing package itself.

Ah, package vs. egg.

to check out zope.testing I've tried ending this command a number of ways,
without success.
$ svn co svn://svn.zope.org/repos/main/Zope/trunk/<...>

Thanks,
Kent
>
> Marius Gedminas
> --
> Give a man a computer program and you give him a headache, but teach him to
> program computers and you give him the power to create headaches for others 
> for
> the rest of his life...
>        -- R. B. Forest
>
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iD8DBQFKJPdnkVdEXeem148RAiDCAJwN/Kh2bq6PdJZJe7vra7PrR1mRNgCfdKsI
> f2ziXogJCAd6y4CjwqY6Fmo=
> =DInm
> -END PGP SIGNATURE-
>
> ___
> Zope3-users mailing list
> Zope3-users@zope.org
> http://mail.zope.org/mailman/listinfo/zope3-users
>
>
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] zope.testing question

2009-06-02 Thread Marius Gedminas
On Mon, Jun 01, 2009 at 10:21:56AM -0500, Kent Tenney wrote:
> On Sun, May 31, 2009 at 2:39 PM, Chris Withers  wrote:
> > Kent Tenney wrote:
> >>
> >> "zope.testing uses buildout. To start, run python bootstrap.py.
> >> It will create a number of directories and the bin/buildout script.
> >> Next, run bin/buildout. It will create a test script for you. Now, run
> >> bin/test to run the zope.testing test suite."
> >>
> >> $ python bootstrap.py
> >>
> >> fails for lack of buildout.cfg
> >>
> >> What am I missing?
> >
> > That bit of documentation is appalling.
> 
> So it would be good if I removed that section from
> http://svn.zope.org/zope.testing/trunk/README.txt
> ?

Better rename it to make it clear it's talking about developing the
zope.testing package itself.

Marius Gedminas
-- 
Give a man a computer program and you give him a headache, but teach him to
program computers and you give him the power to create headaches for others for
the rest of his life...
-- R. B. Forest


signature.asc
Description: Digital signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] zope.testing question

2009-06-01 Thread Kent Tenney
On Sun, May 31, 2009 at 2:39 PM, Chris Withers  wrote:
> Kent Tenney wrote:
>>
>> "zope.testing uses buildout. To start, run python bootstrap.py.
>> It will create a number of directories and the bin/buildout script.
>> Next, run bin/buildout. It will create a test script for you. Now, run
>> bin/test to run the zope.testing test suite."
>>
>> $ python bootstrap.py
>>
>> fails for lack of buildout.cfg
>>
>> What am I missing?
>
> That bit of documentation is appalling.

So it would be good if I removed that section from
http://svn.zope.org/zope.testing/trunk/README.txt
?

>
> What are you looking to do with zope.testing? Develop it or write some tests
> using it?
>
> Chris
>
> --
> Simplistix - Content Management, Zope & Python Consulting
>           - http://www.simplistix.co.uk
>
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] zope.testing question

2009-06-01 Thread Chris Withers
Kent Tenney wrote:
>> What are you looking to do with zope.testing? Develop it or write some tests
>> using it?
> 
> I don't know the first thing about it, just starting to read the doc.

If you're looking to test yourpackage, put the following in a 
buildout.cfg, in the same directory as bootstrap.py:

[buildout]
parts = test

[test]
recipe = zc.recipe.testrunner
eggs =
   yourpackage

Then do:

python bootstrap.py
bin/buildout

You can then run any tests in your package with:

bin/test

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] zope.testing question

2009-06-01 Thread Kent Tenney
On Sun, May 31, 2009 at 2:39 PM, Chris Withers  wrote:
> Kent Tenney wrote:
>>
>> "zope.testing uses buildout. To start, run python bootstrap.py.
>> It will create a number of directories and the bin/buildout script.
>> Next, run bin/buildout. It will create a test script for you. Now, run
>> bin/test to run the zope.testing test suite."
>>
>> $ python bootstrap.py
>>
>> fails for lack of buildout.cfg
>>
>> What am I missing?
>
> That bit of documentation is appalling.

OK, doc's problem, not mine.

>
> What are you looking to do with zope.testing? Develop it or write some tests
> using it?


I don't know the first thing about it, just starting to read the doc.

>
> Chris
>
> --
> Simplistix - Content Management, Zope & Python Consulting
>           - http://www.simplistix.co.uk
>
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] zope.testing question

2009-05-31 Thread Chris Withers
Kent Tenney wrote:
> "zope.testing uses buildout. To start, run python bootstrap.py.
> It will create a number of directories and the bin/buildout script.
> Next, run bin/buildout. It will create a test script for you. Now, run
> bin/test to run the zope.testing test suite."
> 
> $ python bootstrap.py
> 
> fails for lack of buildout.cfg
> 
> What am I missing?

That bit of documentation is appalling.

What are you looking to do with zope.testing? Develop it or write some 
tests using it?

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] zope.testing question

2009-05-31 Thread Kent Tenney
Howdy,

I'm having trouble getting started.

from http://pypi.python.org/pypi/zope.testing/3.7.4#getting-started:

"zope.testing uses buildout. To start, run python bootstrap.py.
It will create a number of directories and the bin/buildout script.
Next, run bin/buildout. It will create a test script for you. Now, run
bin/test to run the zope.testing test suite."

$ python bootstrap.py

fails for lack of buildout.cfg

What am I missing?

Thanks,
Kent
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users