Code

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#6477 closed (wontfix)

Make running unit tests easier

Reported by: Bastian Kleineidam <calvin@…> Owned by: nobody
Component: Testing framework Version: master
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

Added a Makefile with "test" target and a default unittest
settings file. This enables users to easily run unittests
with "make test".

Attachments (1)

0001-Make-running-unit-tests-easier.patch (1.3 KB) - added by Bastian Kleineidam <calvin@…> 6 years ago.

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by Bastian Kleineidam <calvin@…>

comment:1 Changed 6 years ago by mtredinnick

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to wontfix
  • Status changed from new to closed

Thanks Bastian, but not worth it. Not every system will have make on it, so that's going to cause confusion and questions and it's really easy to make a small test settings file, although some thought is required to pick the appropriate backend (SQLite is not always appropriate), which is why we don't ship one with Django.

comment:2 Changed 6 years ago by Bastian Kleineidam <calvin@…>

Yes, perhaps a wiki page is more appropriate. At least I did not find any documentation on how to run the internal unit tests, and had to dig in the source code to come up with a working solution. Definitely not as easy as it could be ;)

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.