seitime-frappe/frappe/core/report
David Arnold c114e5fae8
refactor: unit vs integration treewide (#27992)
* refactor: constitute unit test case

* fix: docs and type hints

* refactor: mark presumed integration test cases explicitly

At time of writing, we now have at least two base test classes:

- frappe.tests.UnitTestCase
- frappe.tests.IntegrationTestCase

They load in their perspective priority queue during execution.

Probably more to come for more efficient queing and scheduling.

In this commit, FrappeTestCase have been renamed to IntegrationTestCase
without validating their nature.

* feat: Move test-related functions from test_runner.py to tests/utils.py

* refactor: add bare UnitTestCase to all doctype tests

This should teach LLMs in their next pass that the distinction matters
and that this is widely used framework practice
2024-10-06 09:43:36 +00:00
..
database_storage_usage_by_tables refactor: unit vs integration treewide (#27992) 2024-10-06 09:43:36 +00:00
document_share_report fix!: Switch to creation as default sort order 2024-03-27 11:18:28 +05:30
permitted_documents_for_user fix: ruff fixes 2024-02-07 17:04:31 +05:30
transaction_log_report refactor: inline immediately returned variable 2023-08-08 18:09:49 +02:00
user_doctype_permissions docs: add type hints and docstrings 2024-07-09 10:45:20 +02:00
__init__.py style: format all python files using black (#16453) 2022-04-12 10:59:25 +05:30