seitime-frappe/frappe/gettext/extractors
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
..
tests refactor: unit vs integration treewide (#27992) 2024-10-06 09:43:36 +00:00
__init__.py feat: python extractor 2023-10-15 20:25:01 +02:00
custom_field.py refactor: extract common methods for parsing df and links 2024-06-27 18:38:05 +02:00
customization.py fix: docstring 2024-06-27 18:39:54 +02:00
doctype.py refactor: extract common methods for parsing df and links 2024-06-27 18:38:05 +02:00
html_template.py fix: clean up print (#26170) 2024-04-26 18:22:33 +05:30
javascript.py fix(translate): Fix extraction in JS files (#27401) 2024-08-14 12:25:44 +00:00
module_onboarding.py style: re-format with ruff 2024-02-05 18:53:33 +05:30
navbar.py fix: ruff fixes 2024-02-07 17:04:31 +05:30
onboarding_step.py style: re-format with ruff 2024-02-05 18:53:33 +05:30
python.py feat: python extractor 2023-10-15 20:25:01 +02:00
README.md docs: extractor README 2023-10-15 20:27:28 +02:00
report.py feat: report extractor 2023-10-15 20:26:46 +02:00
utils.py refactor: extract common methods for parsing df and links 2024-06-27 18:38:05 +02:00
workspace.py fix: extract translatable headings and paragraphs from workspaces (#27464) 2024-08-20 21:55:39 +00:00

Extractors should run on source files only. They should not depend on an acitive web server or database connection.