Re: [Django] #12141: Add glob support to tests/runtests.py

2013-03-14 Thread Django
#12141: Add glob support to tests/runtests.py
-+-
 Reporter:  emulbreh |Owner:
 Type:  New feature  |  ericholscher
Component:  Testing framework|   Status:  closed
 Severity:  Normal   |  Version:  1.1
 Keywords:   |   Resolution:  wontfix
Has patch:  1| Triage Stage:  Accepted
  Needs tests:  1|  Needs documentation:  1
Easy pickings:  0|  Patch needs improvement:  0
 |UI/UX:  0
-+-
Changes (by aaugustin):

 * status:  assigned => closed
 * resolution:   => wontfix


Comment:

 In 2013, developing a custom test runner for Django doesn't seem like a
 good idea any more. Maintaining a test runner is hard and Django doesn't
 have any specificities that would justify it.

 I'm closing this ticket in favor of #17365 which suggests using standard
 test discovery.

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #12141: Add glob support to tests/runtests.py

2011-04-01 Thread Django
#12141: Add glob support to tests/runtests.py
---+-
   Reporter:  emulbreh |Owner:  ericholscher
   Type:  New feature  |   Status:  assigned
  Milestone:  1.3  |Component:  Testing framework
Version:  1.1  | Severity:  Normal
 Resolution:   | Keywords:
   Triage Stage:  Accepted |Has patch:  1
Needs documentation:  1|  Needs tests:  1
Patch needs improvement:  0|
---+-
Changes (by mattmcc):

 * type:   => New feature
 * severity:   => Normal


-- 
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] #12141: Add glob support to tests/runtests.py

2011-02-02 Thread Django
#12141: Add glob support to tests/runtests.py
-+--
   Reporter:  emulbreh   | Owner:  ericholscher
 Status:  assigned   | Milestone:  1.3 
  Component:  Testing framework  |   Version:  1.1 
 Resolution: |  Keywords:  
   Triage Stage:  Accepted   | Has patch:  1   
Needs documentation:  1  |   Needs tests:  1   
Patch needs improvement:  0  |  
-+--

Old description:

> Glob support for the app labels passed to `runtests.py`:
>
> {{{
> #!bash
> $ python tests/runtests.py "m2*"
> Selected 9 tests: m2m_and_m2o, m2m_intermediary, m2m_multiple,
> m2m_recursive, m2m_through, m2o_recursive, m2o_recursive2, m2m_regress,
> m2m_through_regress
> --
> Ran 9 tests in 0.823s
>
> OK
> $ python tests/runtests.py basic "m2*"
> Selected 10 tests: basic, m2m_and_m2o, m2m_intermediary, m2m_multiple,
> m2m_recursive, m2m_through, m2o_recursive, m2o_recursive2, m2m_regress,
> m2m_through_regress
> --
> Ran 10 tests in 0.849s
>
> OK
> $ python tests/runtests.py "modeltests/*"
> Selected 56 tests: aggregation, basic, choices, custom_columns,
> custom_managers, custom_methods, custom_pk, defer, delete, empty,
> expressions,
> field_defaults, field_subclassing, files, fixtures, force_insert_update,
> generic_relations, get_latest, get_object_or_404, get_or_create,
> invalid_models, lookup, m2m_and_m2o, m2m_intermediary, m2m_multiple,
> m2m_recursive, m2m_through, m2o_recursive, m2o_recursive2, many_to_many,
> many_to_one, many_to_one_null, model_forms, model_formsets,
> model_inheritance, mutually_referential, on_delete, one_to_one,
> or_lookups,
> order_with_respect_to, ordering, pagination, properties, proxy_models,
> reserved_names, reverse_lookup, save_delete_hooks, select_related,
> serializers, signals, str, test_client, transactions, unmanaged_models,
> update, user_commands
> --
> Ran 99 tests in 22.371s
>
> OK
> $ python tests/runtests.py "modeltests/m*" templates "custom*"
> Selected 21 tests: m2m_and_m2o, m2m_intermediary, m2m_multiple,
> m2m_recursive, m2m_through, m2o_recursive, m2o_recursive2, many_to_many,
> many_to_one, many_to_one_null, model_forms, model_formsets,
> model_inheritance, mutually_referential, templates, custom_columns,
> custom_managers, custom_methods, custom_pk, custom_columns_regress,
> custom_managers_regress
> --
> Ran 35 tests in 2.151s
>
> OK
> $
> }}}
>
> Of course this doesn't have to be in `runtests.py`. But I really like my
> wrapper script, so here's a patch.

New description:

 Glob support for the app labels passed to `runtests.py`:

 {{{
 #!sh
 $ python tests/runtests.py "m2*"
 Selected 9 tests: m2m_and_m2o, m2m_intermediary, m2m_multiple,
 m2m_recursive, m2m_through, m2o_recursive, m2o_recursive2, m2m_regress,
 m2m_through_regress
 --
 Ran 9 tests in 0.823s

 OK
 $ python tests/runtests.py basic "m2*"
 Selected 10 tests: basic, m2m_and_m2o, m2m_intermediary, m2m_multiple,
 m2m_recursive, m2m_through, m2o_recursive, m2o_recursive2, m2m_regress,
 m2m_through_regress
 --
 Ran 10 tests in 0.849s

 OK
 $ python tests/runtests.py "modeltests/*"
 Selected 56 tests: aggregation, basic, choices, custom_columns,
 custom_managers, custom_methods, custom_pk, defer, delete, empty,
 expressions,
 field_defaults, field_subclassing, files, fixtures, force_insert_update,
 generic_relations, get_latest, get_object_or_404, get_or_create,
 invalid_models, lookup, m2m_and_m2o, m2m_intermediary, m2m_multiple,
 m2m_recursive, m2m_through, m2o_recursive, m2o_recursive2, many_to_many,
 many_to_one, many_to_one_null, model_forms, model_formsets,
 model_inheritance, mutually_referential, on_delete, one_to_one,
 or_lookups,
 order_with_respect_to, ordering, pagination, properties, proxy_models,
 reserved_names, reverse_lookup, save_delete_hooks, select_related,
 serializers, signals, str, test_client, transactions, unmanaged_models,
 update, user_commands
 --
 Ran 99 tests in 22.371s

 OK
 $ python tests/runtests.py "modeltests/m*" templates "custom*"
 Selected 21 tests: m2m_and_m2o, m2m_intermediary, m2m_multiple,
 m2m_recursive, m2m_through, m2o_recursive, m2o_recursive2, many_to_many,
 many_to_one, many_to_one_null, model_forms, model_formsets,
 model_inheritance, mutually_referential, 

Re: [Django] #12141: Add glob support to tests/runtests.py

2010-10-03 Thread Django
#12141: Add glob support to tests/runtests.py
+---
  Reporter:  emulbreh   | Owner:  ericholscher
Status:  assigned   | Milestone:  1.3 
 Component:  Testing framework  |   Version:  1.1 
Resolution: |  Keywords:  
 Stage:  Accepted   | Has_patch:  1   
Needs_docs:  1  |   Needs_tests:  1   
Needs_better_patch:  0  |  
+---
Changes (by ericholscher):

  * owner:  nobody => ericholscher
  * status:  new => assigned
  * milestone:  => 1.3

-- 
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-upda...@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] #12141: Add glob support to tests/runtests.py

2010-02-04 Thread Django
#12141: Add glob support to tests/runtests.py
+---
  Reporter:  emulbreh   | Owner:  nobody
Status:  new| Milestone:
 Component:  Testing framework  |   Version:  1.1   
Resolution: |  Keywords:
 Stage:  Accepted   | Has_patch:  1 
Needs_docs:  1  |   Needs_tests:  1 
Needs_better_patch:  0  |  
+---
Changes (by ericholscher):

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

Comment:

 Sounds great. Needs some docs/tests to go along with it.

-- 
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-upda...@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] #12141: Add glob support to tests/runtests.py

2009-11-03 Thread Django
#12141: Add glob support to tests/runtests.py
---+
 Reporter:  emulbreh   |   Owner:  nobody
   Status:  new|   Milestone:
Component:  Testing framework  | Version:  1.1   
 Keywords: |   Stage:  Unreviewed
Has_patch:  1  |  
---+
 Glob support for the app labels passed to `runtests.py`:

 {{{
 #!bash
 $ python tests/runtests.py "m2*"
 Selected 9 tests: m2m_and_m2o, m2m_intermediary, m2m_multiple,
 m2m_recursive, m2m_through, m2o_recursive, m2o_recursive2, m2m_regress,
 m2m_through_regress
 --
 Ran 9 tests in 0.823s

 OK
 $ python tests/runtests.py basic "m2*"
 Selected 10 tests: basic, m2m_and_m2o, m2m_intermediary, m2m_multiple,
 m2m_recursive, m2m_through, m2o_recursive, m2o_recursive2, m2m_regress,
 m2m_through_regress
 --
 Ran 10 tests in 0.849s

 OK
 $ python tests/runtests.py "modeltests/*"
 Selected 56 tests: aggregation, basic, choices, custom_columns,
 custom_managers, custom_methods, custom_pk, defer, delete, empty,
 expressions,
 field_defaults, field_subclassing, files, fixtures, force_insert_update,
 generic_relations, get_latest, get_object_or_404, get_or_create,
 invalid_models, lookup, m2m_and_m2o, m2m_intermediary, m2m_multiple,
 m2m_recursive, m2m_through, m2o_recursive, m2o_recursive2, many_to_many,
 many_to_one, many_to_one_null, model_forms, model_formsets,
 model_inheritance, mutually_referential, on_delete, one_to_one,
 or_lookups,
 order_with_respect_to, ordering, pagination, properties, proxy_models,
 reserved_names, reverse_lookup, save_delete_hooks, select_related,
 serializers, signals, str, test_client, transactions, unmanaged_models,
 update, user_commands
 --
 Ran 99 tests in 22.371s

 OK
 $ python tests/runtests.py "modeltests/m*" templates "custom*"
 Selected 21 tests: m2m_and_m2o, m2m_intermediary, m2m_multiple,
 m2m_recursive, m2m_through, m2o_recursive, m2o_recursive2, many_to_many,
 many_to_one, many_to_one_null, model_forms, model_formsets,
 model_inheritance, mutually_referential, templates, custom_columns,
 custom_managers, custom_methods, custom_pk, custom_columns_regress,
 custom_managers_regress
 --
 Ran 35 tests in 2.151s

 OK
 $
 }}}

 Of course this doesn't have to be in `runtests.py`. But I really like my
 wrapper script, so here's a patch.

-- 
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
-~--~~~~--~~--~--~---