socialseed-e2e 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- socialseed_e2e/__init__.py +51 -0
- socialseed_e2e/__version__.py +21 -0
- socialseed_e2e/cli.py +611 -0
- socialseed_e2e/core/__init__.py +35 -0
- socialseed_e2e/core/base_page.py +839 -0
- socialseed_e2e/core/check_deps.py +43 -0
- socialseed_e2e/core/config.py +119 -0
- socialseed_e2e/core/config_loader.py +604 -0
- socialseed_e2e/core/headers.py +20 -0
- socialseed_e2e/core/interfaces.py +22 -0
- socialseed_e2e/core/loaders.py +51 -0
- socialseed_e2e/core/models.py +24 -0
- socialseed_e2e/core/test_orchestrator.py +84 -0
- socialseed_e2e/services/__init__.py +9 -0
- socialseed_e2e/templates/__init__.py +32 -0
- socialseed_e2e/templates/config.py.template +20 -0
- socialseed_e2e/templates/data_schema.py.template +116 -0
- socialseed_e2e/templates/e2e.conf.template +20 -0
- socialseed_e2e/templates/service_page.py.template +83 -0
- socialseed_e2e/templates/test_module.py.template +46 -0
- socialseed_e2e/utils/__init__.py +44 -0
- socialseed_e2e/utils/template_engine.py +246 -0
- socialseed_e2e/utils/validators.py +588 -0
- socialseed_e2e-0.1.0.dist-info/METADATA +333 -0
- socialseed_e2e-0.1.0.dist-info/RECORD +29 -0
- socialseed_e2e-0.1.0.dist-info/WHEEL +5 -0
- socialseed_e2e-0.1.0.dist-info/entry_points.txt +3 -0
- socialseed_e2e-0.1.0.dist-info/licenses/LICENSE +21 -0
- socialseed_e2e-0.1.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Core Engine - Motor agnóstico de testing E2E.
|
|
3
|
+
|
|
4
|
+
Este módulo proporciona las clases y funciones principales del framework.
|
|
5
|
+
Todo es agnóstico de servicios específicos.
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
from .base_page import BasePage
|
|
9
|
+
from .config_loader import ApiConfigLoader, get_config, get_service_config, get_service_url
|
|
10
|
+
from .headers import DEFAULT_BROWSER_HEADERS, DEFAULT_JSON_HEADERS, get_combined_headers
|
|
11
|
+
from .interfaces import IServicePage, ITestModule
|
|
12
|
+
from .loaders import ModuleLoader
|
|
13
|
+
from .models import ServiceConfig, TestContext
|
|
14
|
+
from .test_orchestrator import TestOrchestrator
|
|
15
|
+
|
|
16
|
+
__all__ = [
|
|
17
|
+
# Clases principales
|
|
18
|
+
"BasePage",
|
|
19
|
+
"ApiConfigLoader",
|
|
20
|
+
"ModuleLoader",
|
|
21
|
+
"TestOrchestrator",
|
|
22
|
+
"ServiceConfig",
|
|
23
|
+
"TestContext",
|
|
24
|
+
# Interfaces
|
|
25
|
+
"IServicePage",
|
|
26
|
+
"ITestModule",
|
|
27
|
+
# Funciones utilitarias
|
|
28
|
+
"get_config",
|
|
29
|
+
"get_service_config",
|
|
30
|
+
"get_service_url",
|
|
31
|
+
# Constants
|
|
32
|
+
"DEFAULT_JSON_HEADERS",
|
|
33
|
+
"DEFAULT_BROWSER_HEADERS",
|
|
34
|
+
"get_combined_headers",
|
|
35
|
+
]
|