http://hg.code.sf.net:8000/p/roundup/code/atom-log/tip/test/__init__.py Mercurial Repository: p/roundup/code: test/__init__.py history 2003-10-25T22:53:26+00:00 Backend improvements. http://hg.code.sf.net:8000/p/roundup/code/#changeset-f63aa57386b0b2c50eb311d6b407a12e9b5e45db Richard Jones richard@users.sourceforge.net 2003-10-25T22:53:26+00:00 2003-10-25T22:53:26+00:00
changeset f63aa57386b0
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description Backend improvements.

- using Zope3's test runner now, allowing GC checks, nicer controls and
coverage analysis
- all RDMBS backends now have indexes on several columns
- added testing of schema mutation, fixed rdbms backends handling of a
couple of cases
- !BETA! added postgresql backend, needs work !BETA!
files
Optimize mailgw and cgi tests... http://hg.code.sf.net:8000/p/roundup/code/#changeset-c1eec970d5c0f12f5babc5e11650e0c590b87087 Johannes Gijsbers jlgijsbers@users.sourceforge.net 2003-09-07T20:37:33+00:00 2003-09-07T20:37:33+00:00
changeset c1eec970d5c0
branch
bookmark
tag
user Johannes Gijsbers <jlgijsbers@users.sourceforge.net>
description Optimize mailgw and cgi tests...

...by creating an empty instance before the tests start (only if
needed). In setUp(), this instance is then copied to another directory
for the actual tests.

On my system, this about halved the execution time for test_cgi (33s -> 14s)
and test_mailgw (40s -> 25s).
files
removed Log http://hg.code.sf.net:8000/p/roundup/code/#changeset-9b910e8d987d9c68848931f69cc57243f04e6dee Richard Jones richard@users.sourceforge.net 2002-09-10T00:19:55+00:00 2002-09-10T00:19:55+00:00
changeset 9b910e8d987d
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description removed Log
files
Sorry about this huge checkin! http://hg.code.sf.net:8000/p/roundup/code/#changeset-938edfdeac6ed9419bb8f01bb85ac77ecb32bdf9 Richard Jones richard@users.sourceforge.net 2002-05-29T01:16:17+00:00 2002-05-29T01:16:17+00:00
changeset 938edfdeac6e
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description Sorry about this huge checkin!

It's fixing a lot of related stuff in one go though.

. [SF#541941] changing multilink properties by mail
. [SF#526730] search for messages capability
. [SF#505180] split MailGW.handle_Message
- also changed cgi client since it was duplicating the functionality
. build htmlbase if tests are run using CVS checkout (removed note from
installation.txt)
. don't create an empty message on email issue creation if the email is empty
files
Fixed the unit tests for the mailgw re: the x-roundup-name header. http://hg.code.sf.net:8000/p/roundup/code/#changeset-d77b82588bf0ca5d556ff0456bbe69d542910c7a Richard Jones richard@users.sourceforge.net 2002-02-14T23:38:12+00:00 2002-02-14T23:38:12+00:00
changeset d77b82588bf0
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description Fixed the unit tests for the mailgw re: the x-roundup-name header.

Also made the test runner more user-friendly:
./run_tests - detect all tests in test/test_<name>.py and run them
./run_tests <name> - run only test/test_<name>.py
eg ./run_tests mailgw - run the mailgw test from test/test_mailgw.py
files
[config-0-4-0-branch] I've re-worked the config structure a little so it's simpler http://hg.code.sf.net:8000/p/roundup/code/#changeset-13719594278b25bbb60d88e44b182cbbd9da05f5 Richard Jones richard@users.sourceforge.net 2002-02-06T07:11:13+00:00 2002-02-06T07:11:13+00:00
changeset 13719594278b
branch config-0-4-0-branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description I've re-worked the config structure a little so it's simpler

(one less file) and added a unit test so we can be sure it's working.
files
[config-0-4-0-branch] Brought the config branch up to date with HEAD http://hg.code.sf.net:8000/p/roundup/code/#changeset-c242455d9b46966106f9d326e8fe7e8e69cfb519 Richard Jones richard@users.sourceforge.net 2002-02-06T04:05:55+00:00 2002-02-06T04:05:55+00:00
changeset c242455d9b46
branch config-0-4-0-branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description Brought the config branch up to date with HEAD
files
oops http://hg.code.sf.net:8000/p/roundup/code/#changeset-6f45494f84af31913d5a9107dccb84a6ec166a3e Richard Jones richard@users.sourceforge.net 2002-01-22T00:12:20+00:00 2002-01-22T00:12:20+00:00
changeset 6f45494f84af
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description oops
files
Wrote more unit tests for htmltemplate... http://hg.code.sf.net:8000/p/roundup/code/#changeset-0f58d6a35a8b6dcdad07872c6f12489d266966ca Richard Jones richard@users.sourceforge.net 2002-01-22T00:12:07+00:00 2002-01-22T00:12:07+00:00
changeset 0f58d6a35a8b
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description Wrote more unit tests for htmltemplate...

...and while I was at it, I polished off the implementation of some of
the functions so they behave sanely.
files
New tests for htmltemplate (well, it's a beginning) http://hg.code.sf.net:8000/p/roundup/code/#changeset-13df980755fa4255f4297981678d9ca163827ddc Richard Jones richard@users.sourceforge.net 2002-01-21T11:05:48+00:00 2002-01-21T11:05:48+00:00
changeset 13df980755fa
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description New tests for htmltemplate (well, it's a beginning)
files
had commented out some tests http://hg.code.sf.net:8000/p/roundup/code/#changeset-074bac7fc308de93cc4eddc241b99abf56aef50c Richard Jones richard@users.sourceforge.net 2002-01-14T06:53:28+00:00 2002-01-14T06:53:28+00:00
changeset 074bac7fc308
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description had commented out some tests
files
changed all config accesses... http://hg.code.sf.net:8000/p/roundup/code/#changeset-dce4c75bef5add5147a34c2ec8ba5a024d30144b Richard Jones richard@users.sourceforge.net 2002-01-14T02:20:15+00:00 2002-01-14T02:20:15+00:00
changeset dce4c75bef5a
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description changed all config accesses...

...so they access either the instance or the config attriubute on the
db. This means that all config is obtained from instance_config
instead of the mish-mash of classes. This will make switching to a
ConfigParser setup easier too, I hope.

At a minimum, this makes migration a _little_ easier (a lot easier in the
0.5.0 switch, I hope!)
files
make setup abort if tests fail http://hg.code.sf.net:8000/p/roundup/code/#changeset-a090b3873d82a9491d778d8cc8d9cca2874d434c Richard Jones richard@users.sourceforge.net 2002-01-05T02:09:46+00:00 2002-01-05T02:09:46+00:00
changeset a090b3873d82
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description make setup abort if tests fail
files
Fix breakage caused by transaction changes. http://hg.code.sf.net:8000/p/roundup/code/#changeset-a1a44636bace886a25fda2f00a6d1d49a88ab158 Richard Jones richard@users.sourceforge.net 2002-01-02T02:31:38+00:00 2002-01-02T02:31:38+00:00
changeset a1a44636bace
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description Fix breakage caused by transaction changes.

Sorry for the huge checkin message - I was only intending to implement
[SF#496356] but I found a number of places where things had been
broken by transactions:

. modified ROUNDUPDBSENDMAILDEBUG to be SENDMAILDEBUG and hold a filename
for _all_ roundup-generated smtp messages to be sent to.
. the transaction cache had broken the roundupdb.Class set() reactors
. newly-created author users in the mailgw weren't being committed to the db

Stuff that made it into CHANGES.txt (ie. the stuff I was actually working
on when I found that stuff :):
. [SF#496356] Use threading in messages
. detectors were being registered multiple times
. added tests for mailgw
. much better attaching of erroneous messages in the mail gateway
files
Added better tokenising to roundup-admin - handles spaces and stuff. http://hg.code.sf.net:8000/p/roundup/code/#changeset-9f7320624bc23f6b61d1710544739b67f275931a Richard Jones richard@users.sourceforge.net 2001-12-31T05:09:20+00:00 2001-12-31T05:09:20+00:00
changeset 9f7320624bc2
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description Added better tokenising to roundup-admin - handles spaces and stuff.

Can use quoting or backslashes. See the roundup.token pydoc.
files
stupid typo http://hg.code.sf.net:8000/p/roundup/code/#changeset-18134bffab37adb31b9748bde68b0d2f890b6d1e Richard Jones richard@users.sourceforge.net 2001-08-07T00:24:43+00:00 2001-08-07T00:24:43+00:00
changeset 18134bffab37
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description stupid typo
files
Added the copyright/license notice to (nearly) all files... http://hg.code.sf.net:8000/p/roundup/code/#changeset-d45384bc6420d1fe5aa6252310d04956315bdd69 Richard Jones richard@users.sourceforge.net 2001-08-07T00:15:51+00:00 2001-08-07T00:15:51+00:00
changeset d45384bc6420
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description Added the copyright/license notice to (nearly) all files...

...at request of Bizar Software.
files
Added tests for instance initialisation http://hg.code.sf.net:8000/p/roundup/code/#changeset-da2e5d340e14af1c4cf1a19c7ff4f72aed513dc0 Richard Jones richard@users.sourceforge.net 2001-08-05T07:45:27+00:00 2001-08-05T07:45:27+00:00
changeset da2e5d340e14
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description Added tests for instance initialisation
files
Implemented correct mail splitting (was taking a shortcut). http://hg.code.sf.net:8000/p/roundup/code/#changeset-eda506860b32aac1d487c5ad14aebf5914eb3ec3 Richard Jones richard@users.sourceforge.net 2001-08-03T07:18:22+00:00 2001-08-03T07:18:22+00:00
changeset eda506860b32
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description Implemented correct mail splitting (was taking a shortcut).

Added unit tests. Also snips signatures now too.
files
Added vim command to all source so that we don't get no steenkin' tabs :) http://hg.code.sf.net:8000/p/roundup/code/#changeset-0791d13baea72ae994dbc9229f0f8603e0440a6d Richard Jones richard@users.sourceforge.net 2001-07-29T07:01:39+00:00 2001-07-29T07:01:39+00:00
changeset 0791d13baea7
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description Added vim command to all source so that we don't get no steenkin' tabs :)
files
Multipart message class has the getPart method now. Added some tests for it. http://hg.code.sf.net:8000/p/roundup/code/#changeset-19686b60e410dfdf8cc32a3120405eb67b66f9da Richard Jones richard@users.sourceforge.net 2001-07-28T06:43:02+00:00 2001-07-28T06:43:02+00:00
changeset 19686b60e410
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description Multipart message class has the getPart method now. Added some tests for it.
files
moving tests -> test http://hg.code.sf.net:8000/p/roundup/code/#changeset-fa44da8d9df28fa92581251b0b2395fa1298129e Richard Jones richard@users.sourceforge.net 2001-07-27T06:55:07+00:00 2001-07-27T06:55:07+00:00
changeset fa44da8d9df2
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description moving tests -> test
files