Edgewall Software
Modify

Opened 20 years ago

Closed 20 years ago

#1330 closed enhancement (fixed)

[PATCH] Unit Tests That Require an Environment Should Use test.InMemoryDatabase For Speed

Reported by: Mark Rowe <edgewall.com@…> Owned by: anonymous
Priority: low Milestone: 0.9
Component: general Version: devel
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

SQLite's ":memory:" database is a lot faster than a file-system-backed DB, so it should be used in unit tests where possible to reduce their runtime. Patch attached.

Attachments (1)

trac-admin-test-in-memory.patch (1.8 KB ) - added by Mark Rowe <edgewall.com@…> 20 years ago.

Download all attachments as: .zip

Change History (3)

by Mark Rowe <edgewall.com@…>, 20 years ago

comment:1 by Christopher Lenz <cmlenz@…>, 20 years ago

Milestone: 0.9
Owner: changed from Jonas Borgström to anonymous
Priority: normallow
Severity: normalenhancement
Status: newassigned

comment:2 by Christopher Lenz <cmlenz@…>, 20 years ago

Resolution: fixed
Status: assignedclosed

Fixed in [1389].

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain anonymous.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from anonymous to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.