Testing - A new hope!

0 views
Skip to first unread message

Christos Τrochalakis

unread,
May 17, 2008, 7:02:26 AM5/17/08
to transif...@googlegroups.com
Hello,

We pushed some changes to tx-spla branch with Dimitris concerning the
testing framework. It's was a bit painful to set it up to work with
sqlalchemy.

You can now run `nosetests -v` from the top-level transifex dir and
run the tests. We currently have only one sample test but it's a
start!

A turbogears bug (http://trac.turbogears.org/ticket/1821) could cause
tests to fail, if this happens you can move/delete you .hg dir and
everything should work.

-chris

Dimitris Glezos

unread,
May 17, 2008, 9:35:14 AM5/17/08
to transif...@googlegroups.com
On Sat, May 17, 2008 at 2:02 PM, Christos Τrochalakis
<yat...@ideopolis.gr> wrote:
>
> Hello,
>
> We pushed some changes to tx-spla branch with Dimitris concerning the
> testing framework. It's was a bit painful to set it up to work with
> sqlalchemy.

We'll be seeing a *lot* more tests land in the next few days. Let's
have a wiki page explaining some basic stuff for new contributors, so
we can write tests when they should be written: before or during
coding. At some point I'd like to see each bug fixed to have a test
attached to it.

-d


> You can now run `nosetests -v` from the top-level transifex dir and
> run the tests. We currently have only one sample test but it's a
> start!
>
> A turbogears bug (http://trac.turbogears.org/ticket/1821) could cause
> tests to fail, if this happens you can move/delete you .hg dir and
> everything should work.

--
Dimitris Glezos
Jabber ID: gle...@jabber.org, GPG: 0xA5A04C3B
http://dimitris.glezos.com/

"He who gives up functionality for ease of use
loses both and deserves neither." (Anonymous)
--

Reply all
Reply to author
Forward
0 new messages