Opened 8 years ago

Closed 8 years ago

#9963 closed (fixed)

Add a stub to the stub application produced by startapp

Reported by: russellm Owned by: nobody
Component: Testing framework Version: 1.0
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


When a user creates a new application, they should get a stub, hopefully drawing their attention to the need to write test cases for their newly created application.

The stub should contain a doctest and a unit test, both of which pass asserting something trivial (like 1+1 = 2).

Change History (3)

comment:1 Changed 8 years ago by russellm

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 8 years ago by mtredinnick

Turns out that I've had a local branch with this kind of file in it sitting around since DjangoConf, so I'll drop that in (it even tests that 1+1=2 in a moment of great syncrhonicity).

comment:3 Changed 8 years ago by mtredinnick

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r9708.

Note: See TracTickets for help on using tickets.
Back to Top