Re: [Django] #11593: Incomplete support for app-level testing

2024-05-26 Thread Django
#11593: Incomplete support for app-level testing
-+-
 Reporter:  Masklinn |Owner:  Raphael
 |  Kimmig
 Type:  New feature  |   Status:  assigned
Component:  Testing framework|  Version:  dev
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Raphael Kimmig):

 * needs_better_patch:  1 => 0

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018fb87dde37-794500d1-3391-4614-a485-4d3a63afca9e-00%40eu-central-1.amazonses.com.


Re: [Django] #11593: Incomplete support for app-level testing

2024-03-26 Thread Django
#11593: Incomplete support for app-level testing
-+-
 Reporter:  Masklinn |Owner:  Raphael
 |  Kimmig
 Type:  New feature  |   Status:  assigned
Component:  Testing framework|  Version:  dev
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  1
Easy pickings:  0|UI/UX:  0
-+-
Comment (by Raphael Kimmig):

 I wasn't able to change the target branch on the old PR to main, so here
 is a new one incorporating feedback from the old PR

   https://github.com/django/django/pull/18018
-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018e79dfe145-08ff037d-3739-413d-93ac-a1e8d5283d26-00%40eu-central-1.amazonses.com.


Re: [Django] #11593: Incomplete support for app-level testing

2024-03-26 Thread Django
#11593: Incomplete support for app-level testing
-+-
 Reporter:  Masklinn |Owner:  Raphael
 |  Kimmig
 Type:  New feature  |   Status:  assigned
Component:  Testing framework|  Version:  dev
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  1
Easy pickings:  0|UI/UX:  0
-+-
Comment (by Mariusz Felisiak):

 Replying to [comment:18 Raphael Kimmig]:
 > I forgot about this completely. I'll just fix up the branch and add in
 the feedback.

 Great, thanks!
-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018e79ae39ad-32dcf4a9-0dd0-4e0f-9307-71781048aa95-00%40eu-central-1.amazonses.com.


Re: [Django] #11593: Incomplete support for app-level testing

2024-03-26 Thread Django
#11593: Incomplete support for app-level testing
-+-
 Reporter:  Masklinn |Owner:  Raphael
 |  Kimmig
 Type:  New feature  |   Status:  assigned
Component:  Testing framework|  Version:  dev
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  1
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Raphael Kimmig):

 * owner:  (none) => Raphael Kimmig
 * status:  new => assigned

Comment:

 I forgot about this completely. I'll just fix up the branch and add in the
 feedback.
-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018e79a3a96d-fa9ab080-d607-4ee9-8da8-5a5d81deb882-00%40eu-central-1.amazonses.com.


Re: [Django] #11593: Incomplete support for app-level testing

2024-03-25 Thread Django
#11593: Incomplete support for app-level testing
---+
 Reporter:  Masklinn   |Owner:  (none)
 Type:  New feature|   Status:  new
Component:  Testing framework  |  Version:  dev
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  1  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  1
Easy pickings:  0  |UI/UX:  0
---+
Changes (by Mariusz Felisiak):

 * owner:  Raphael Kimmig => (none)
 * status:  assigned => new

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018e7576edf6-90dde2bf-3b8e-484b-9693-12037b773c69-00%40eu-central-1.amazonses.com.


Re: [Django] #11593: Incomplete support for app-level testing

2019-02-15 Thread Django
#11593: Incomplete support for app-level testing
-+-
 Reporter:  Masklinn |Owner:  Raphael
 |  Kimmig
 Type:  New feature  |   Status:  assigned
Component:  Testing framework|  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  1
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Carlton Gibson):

 * needs_better_patch:  0 => 1


Comment:

 Patch looks good. Comments on PR (Summary: Just some rewording to the
 "Advanced testing topics" section linked from the new examples needed.)

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.dd5ea29868365c33e7fdad9a3abcff0d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #11593: Incomplete support for app-level testing

2018-12-20 Thread Django
#11593: Incomplete support for app-level testing
-+-
 Reporter:  Masklinn |Owner:  Raphael
 |  Kimmig
 Type:  New feature  |   Status:  assigned
Component:  Testing framework|  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Tim Graham):

 * cc: egmanoj@… (removed)


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.e8f7017d8d33f53b8fca386d2a03d4b9%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #11593: Incomplete support for app-level testing

2018-12-18 Thread Django
#11593: Incomplete support for app-level testing
---+
 Reporter:  Masklinn   |Owner:  (none)
 Type:  New feature|   Status:  new
Component:  Testing framework  |  Version:  master
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  1  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+

Comment (by egmanoj):

 Terribly sorry for de-assigning. Was trying to remove myself from the `cc`
 list.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.5cbe17f9127c3f81f5d549b401a8f8d5%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #11593: Incomplete support for app-level testing

2018-12-18 Thread Django
#11593: Incomplete support for app-level testing
---+
 Reporter:  Masklinn   |Owner:  (none)
 Type:  New feature|   Status:  new
Component:  Testing framework  |  Version:  master
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  1  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+
Changes (by egmanoj):

 * owner:  Raphael Kimmig => (none)
 * status:  assigned => new


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.f813cc769d68c2322e5563d9b041eb19%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #11593: Incomplete support for app-level testing

2018-12-18 Thread Django
#11593: Incomplete support for app-level testing
-+-
 Reporter:  Masklinn |Owner:  Raphael
 |  Kimmig
 Type:  New feature  |   Status:  assigned
Component:  Testing framework|  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Simon Charette):

 I don't see a reason for shipping a `runtests.py` file with minimal
 configuration. The one we use for Django's testsuite happens to exist
 because we need to perform quite a lot of tweaks before running the tests
 which isn't the case for most Django third party apps.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.30da686739a357439d2ebbd96b8b7ea9%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #11593: Incomplete support for app-level testing

2018-12-18 Thread Django
#11593: Incomplete support for app-level testing
-+-
 Reporter:  Masklinn |Owner:  Raphael
 |  Kimmig
 Type:  New feature  |   Status:  assigned
Component:  Testing framework|  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Raphael Kimmig):

 No good reason at all, that looks much nicer actually :-)

 I'll update the PR and I'll change the advanced testing part about
 reusable applications as well,
 unless you see a good reason to suggest using a runtests.py file there.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.a871c1ce6e67be63629f0e1fd73ec0de%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #11593: Incomplete support for app-level testing

2018-12-18 Thread Django
#11593: Incomplete support for app-level testing
-+-
 Reporter:  Masklinn |Owner:  Raphael
 |  Kimmig
 Type:  New feature  |   Status:  assigned
Component:  Testing framework|  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Simon Charette):

 Is there a reason why `python -m django test --settings=tests.settings
 tests` (given `tests.test_settings` is renamed to `settings`) wouldn't
 work?

 That's the pattern I use for all the third party apps I maintain and it
 seems to be working just fine.

 e.g.

 - https://github.com/charettes/django-
 seal/blob/36dde326783d51d1f45348fcb18cfd1418e93881/tox.ini#L20
 - https://github.com/charettes/django-
 seal/tree/36dde326783d51d1f45348fcb18cfd1418e93881/tests

 I'm not sure I'm following why a `--reusable` flag is required.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.431bb4f26c4536e4242bc3211ddbc625%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #11593: Incomplete support for app-level testing

2018-12-17 Thread Django
#11593: Incomplete support for app-level testing
-+-
 Reporter:  Masklinn |Owner:  Raphael
 |  Kimmig
 Type:  New feature  |   Status:  assigned
Component:  Testing framework|  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Raphael Kimmig):

 * has_patch:  0 => 1


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.3786860c0cf3846be8aee3ff0db0327e%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #11593: Incomplete support for app-level testing

2018-12-17 Thread Django
#11593: Incomplete support for app-level testing
-+-
 Reporter:  Masklinn |Owner:  Raphael
 |  Kimmig
 Type:  New feature  |   Status:  assigned
Component:  Testing framework|  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Raphael Kimmig):

 I've added documentation to the resuable apps intro.
 [https://github.com/django/django/pull10765 PR]

 One possible way to improve this would be to add a `--reusable` flag to
 the `test` management command so that one could run the tests with
 `django-admin test --reusable` or something along those lines instead of
 copy & pasting a `runtests.py` file. Any thoughts?

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.ac93bd4783df4695a1dee25af33cbc2a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #11593: Incomplete support for app-level testing

2018-12-12 Thread Django
#11593: Incomplete support for app-level testing
-+-
 Reporter:  Masklinn |Owner:  Raphael
 |  Kimmig
 Type:  New feature  |   Status:  assigned
Component:  Testing framework|  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Raphael Kimmig):

 * owner:  nobody => Raphael Kimmig
 * status:  new => assigned


Comment:

 This ticket is really old, but I'd still love to see some progress here.
 I've been thinking about this a bit lately and below are my thoughts so
 far.
 We probably don't need to write a lot of code here, but rather add some
 documentation to the advanced tutorial as well as the advanced testing
 documentation.

 From what I can see there are a few common things that should be
 documented.

 1. How to run tests in a stand alone application (this requires settings).
 2. How to manage settings for running tests in a stand alone application.
 3. How to set up views/urls/middleware ... for tests.
 4. How to add models specifically for tests inside applications.


 For 1, 2 and 3. there are several solutions, to get started I'd probably
 describe
 how to use `django-admin test` to run the tests with a custom
 `test_settings.py`
 file.

 For 4. there is a simple solution if the app doesn't provide any models
 itself.
 In that case one can simply disable migrations for the app in the test
 settings.
 Ideally I'd like to try implementing a `@test_model` decorator as
 suggested in
 https://code.djangoproject.com/ticket/7835 which would also solve the
 general
 case.

 I'd love to have the documentation for reusable apps contain (directly, or
 via links
 to the testing docs) all the information required to not only create an
 app, but also
 make sure it has working tests.

 I'll try to expand the relevant docs over the next few days. If anyone has
 some
 input on the matter I'd be glad to hear it.

 Did I miss any obvious work in that area? Maybe even somewhere in the
 documentation?
 Do you have any suggestions on how specific aspects should be solved?

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.44815b339550468f88741765c2df5fef%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #11593: Incomplete support for app-level testing

2009-08-03 Thread Django
#11593: Incomplete support for app-level testing
+---
  Reporter:  masklinn   | Owner:  nobody
Status:  new| Milestone:
 Component:  Testing framework  |   Version:  SVN   
Resolution: |  Keywords:
 Stage:  Accepted   | Has_patch:  0 
Needs_docs:  0  |   Needs_tests:  0 
Needs_better_patch:  0  |  
+---
Comment (by Manoj Govindan ):

 >
 > What you are proposing isn't a stylistic thing or a particular way that
 the original proposal could be interpreted - it's a completely new idea.
 If you have a separate feature request, open a separate ticket.
 [[BR]]
 [http://code.djangoproject.com/ticket/11627 Done].

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #11593: Incomplete support for app-level testing

2009-08-03 Thread Django
#11593: Incomplete support for app-level testing
+---
  Reporter:  masklinn   | Owner:  nobody
Status:  new| Milestone:
 Component:  Testing framework  |   Version:  SVN   
Resolution: |  Keywords:
 Stage:  Accepted   | Has_patch:  0 
Needs_docs:  0  |   Needs_tests:  0 
Needs_better_patch:  0  |  
+---
Comment (by russellm):

 Replying to [comment:2 Manoj Govindan ]:
 > Replying to [comment:1 russellm]:
 > Can I make a wish while we are on the topic? ;) Django allows me to
 write test suites (`unittest.TestSuite` objects) but won't allow me to run
 them. Adding one more level of granularity would help users to run any of
 Application/Test Suite/Test Class/Test Method tests. This would also make
 django's test running mechanism more similar to unittest's.

 What you are proposing isn't a stylistic thing or a particular way that
 the original proposal could be interpreted - it's a completely new idea.
 If you have a separate feature request, open a separate ticket.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #11593: Incomplete support for app-level testing

2009-08-03 Thread Django
#11593: Incomplete support for app-level testing
+---
  Reporter:  masklinn   | Owner:  nobody
Status:  new| Milestone:
 Component:  Testing framework  |   Version:  SVN   
Resolution: |  Keywords:
 Stage:  Accepted   | Has_patch:  0 
Needs_docs:  0  |   Needs_tests:  0 
Needs_better_patch:  0  |  
+---
Changes (by Manoj Govindan ):

 * cc: egma...@gmail.com (added)

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #11593: Incomplete support for app-level testing

2009-08-03 Thread Django
#11593: Incomplete support for app-level testing
+---
  Reporter:  masklinn   | Owner:  nobody
Status:  new| Milestone:
 Component:  Testing framework  |   Version:  SVN   
Resolution: |  Keywords:
 Stage:  Accepted   | Has_patch:  0 
Needs_docs:  0  |   Needs_tests:  0 
Needs_better_patch:  0  |  
+---
Comment (by Manoj Govindan ):

 Replying to [comment:1 russellm]:
 > I concur 100%. The distinction between integration testing of new apps,
 and system testing of a specific app is a persistent problem, and the
 cause of more than one ticket in the Django system (e.g., #10976, #10755,
 and others). This is a problem for which we should have a solid answer.
 [[BR]]

 Can I make a wish while we are on the topic? ;) Django allows me to write
 test suites (`unittest.TestSuite` objects) but won't allow me to run them.
 Adding one more level of granularity would help users to run any of
 Application/Test Suite/Test Class/Test Method tests. This would also make
 django's test running mechanism more similar to unittest's.

 If you think this should be a separate ticket I can add one.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #11593: Incomplete support for app-level testing

2009-07-29 Thread Django
#11593: Incomplete support for app-level testing
+---
  Reporter:  masklinn   | Owner:  nobody
Status:  new| Milestone:
 Component:  Testing framework  |   Version:  SVN   
Resolution: |  Keywords:
 Stage:  Accepted   | Has_patch:  0 
Needs_docs:  0  |   Needs_tests:  0 
Needs_better_patch:  0  |  
+---
Changes (by russellm):

  * needs_better_patch:  => 0
  * stage:  Unreviewed => Accepted
  * needs_tests:  => 0
  * needs_docs:  => 0

Comment:

 I concur 100%. The distinction between integration testing of new apps,
 and system testing of a specific app is a persistent problem, and the
 cause of more than one ticket in the Django system (e.g., #10976, #10755,
 and others). This is a problem for which we should have a solid answer.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



[Django] #11593: Incomplete support for app-level testing

2009-07-29 Thread Django
#11593: Incomplete support for app-level testing
---+
 Reporter:  masklinn   |   Owner:  nobody
   Status:  new|   Milestone:
Component:  Testing framework  | Version:  SVN   
 Keywords: |   Stage:  Unreviewed
Has_patch:  0  |  
---+
 Django and its community have a pretty strong focus on the concept of
 reusable applications: applications as pluggable behavior blocks,
 independent from one another and from projects. And the test framework
 documentation and setup emphasize that: the documentation page is called
 [http://docs.djangoproject.com/en/dev/topics/testing/ Testing Django
 applications] and the test themselves are saved at the application level
 not at the project level.

 Yet Django provides no provision whatsoever for running tests from an
 application: a project (or at least a settings and a urls file) is
 required, and barring fairly weird setups (global settings and urls
 modules) there is no way to create a new app, write a test and run it just
 like that. Which means applications aren't as self-contained as they could
 be, and can't easily be tested "in a void" (independently of everything
 else).

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---