Edgewall Software

Ticket #1330 (closed enhancement: fixed)

Opened 4 years ago

Last modified 4 years ago

[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:

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

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

Change History

Changed 4 years ago by Mark Rowe <edgewall.com@…>

Changed 4 years ago by Christopher Lenz <cmlenz@…>

  • owner changed from jonas to anonymous
  • priority changed from normal to low
  • status changed from new to assigned
  • severity changed from normal to enhancement
  • milestone set to 0.9

Changed 4 years ago by Christopher Lenz <cmlenz@…>

  • status changed from assigned to closed
  • resolution set to fixed

Fixed in [1389].

Add/Change #1330 ([PATCH] Unit Tests That Require an Environment Should Use test.InMemoryDatabase For Speed)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from anonymous. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.