Modify ↓
Opened 21 years ago
Closed 21 years ago
#1330 closed enhancement (fixed)
[PATCH] Unit Tests That Require an Environment Should Use test.InMemoryDatabase For Speed
| Reported by: | 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)
Change History (3)
by , 21 years ago
| Attachment: | trac-admin-test-in-memory.patch added |
|---|
comment:1 by , 21 years ago
| Milestone: | → 0.9 |
|---|---|
| Owner: | changed from to |
| Priority: | normal → low |
| Severity: | normal → enhancement |
| Status: | new → assigned |
comment:2 by , 21 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.



Fixed in [1389].