Commit Graph

17 Commits

Author SHA1 Message Date
Sarah Boyce be56c982c0 Refs #34043 -- Added --screenshots option to runtests.py and selenium tests. 2023-10-18 06:14:40 +02:00
Marc Gibbons 070cbac0db
Restored multiprocessing concurrency on coverage.py settings
* Revert "Reverted "Fixed #33213 -- Doc'd testing code coverage in parallel and used it.""

This reverts commit 78da5ca0c1.

* Restored coverage multiprocess concurrency with threads

Investigating https://github.com/nedbat/coveragepy/issues/1585 revealed
that thread tracing gets disabled when passing
`concurrency = multiprocessing`. Adding `thread` restores it, and
ensures that the `auser()` is reported as covered since the test suite
uses `AsyncToSync` to execute this middleware (which spawns threads).
2023-04-27 17:02:55 -03:00
Mariusz Felisiak 78da5ca0c1
Reverted "Fixed #33213 -- Doc'd testing code coverage in parallel and used it."
This reverts commit 69352d85fa.

Test coverage for async methods was no longer calculated with this
change.
2023-03-15 13:05:48 +01:00
Paolo Melchiorre 69352d85fa
Fixed #33213 -- Doc'd testing code coverage in parallel and used it. 2023-02-11 09:43:26 +01:00
Tobias McNulty 09d38746ba Fixed #22446 -- Added tox.ini to automate pull request checks. 2016-07-20 14:06:28 -04:00
Tim Graham 01e7d69838 Added a note in .gitignore to discourage pull requests containing IDE specific files. 2015-08-18 19:46:28 -04:00
Trey Hunner 2d0dead224 DEP 0003 -- Added JavaScript unit tests.
Setup QUnit, added tests, and measured test coverage.

Thanks to Nick Sanford for the initial tests.
2015-06-30 21:04:16 -04:00
Trey Hunner ec4f219ecb Fixed #22463 -- Added code style guide and JavaScript linting (EditorConfig and ESLint) 2015-06-27 16:36:26 -04:00
Tim Graham 55b9bff07f Added __pycache__ to gitignore 2013-09-19 06:37:23 -04:00
Garry Polley f0d9b529a9 ignore build directory, so it doesn't accidentally get committed 2013-09-06 10:25:33 -05:00
Alex Gaynor 6fc339f2f1 Revert ".DS_Store can be ignored."
OS specific files can be ignored in a global ignore file.

This reverts commit d66bd1dfb9.
2013-07-08 18:56:11 +10:00
Alex Gaynor d66bd1dfb9 .DS_Store can be ignored. 2013-07-08 08:51:29 +10:00
Claude Paroz 78974ed525 Added docs subdir to gitignore
To be able to build translated documentation, docs/locale should
be a symbolic link to the django-docs-translations/translations
directory.
2013-06-11 22:39:53 +02:00
Carl Meyer 9012833af8 Fixed #17365, #17366, #18727 -- Switched to discovery test runner.
Thanks to Preston Timmons for the bulk of the work on the patch, especially
updating Django's own test suite to comply with the requirements of the new
runner. Thanks also to Jannis Leidel and Mahdi Yusuf for earlier work on the
patch and the discovery runner.

Refs #11077, #17032, and #18670.
2013-05-10 23:08:45 -04:00
Tim Graham 06f5da3d78 Fixed #16817 - Added a guide of code coverage to contributing docs.
Thanks Pedro Lima for the draft patch.
2012-10-11 06:11:52 -04:00
Ramiro Morales ab23293735 Updated .gitignore with files created when running setup.py sdist. 2012-10-06 18:50:30 -03:00
Jannis Leidel 5830477e46 Fixed #14680 -- Added ignore files for Mercurial and Git.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15009 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-21 17:52:17 +00:00