|
Ran
|
Jobs
4
|
Files
260
|
Run time
1min
|
Badge
README BADGES
|
push
github
Add xmlization to TypeScript (#607) This pull request introduces support for XML de/serialization ("xmlization") in the TypeScript code generator, along with comprehensive test coverage for this new feature. The main updates include generating XMLization code, updating the index exports, and adding a suite of tests for XMLization of concrete classes, enumerations, and interfaces. # TypeScript Code Generation Enhancements * Add XMLization code generation to the TypeScript code generator by exposing `generate_xmlization` in `aas_core_codegen/typescript/lib/__init__.py` and integrating it into the code generation pipeline (`main.py`). [[1]] [[2]] [[3]] * Update the generated `index.ts` to export the new `xmlization` module, making XMLization functionality available to consumers. [[4]] [[5]] # Test Generation for XMLization * Add generation of test utilities and specs for XMLization, including: * Common XMLization test helpers (`_generate_common_xmlization.py`) * XMLization tests for concrete classes (`_generate_xmlization_concrete_classes_spec.py`) * XMLization tests for enumerations (`_generate_xmlization_enums_spec.py`) * XMLization tests for interfaces (`_generate_xmlization_interfaces_spec.py`) * Integrate these test generators into the test generation pipeline (`main.py` and `tests/__init__.py`). [[6]]() [[7]] [[8]] [[9]] # Contributors * Add Aaron Zielstorff as a contributor in the `AUTHORS` file. [[1]]: diffhunk://#diff-<a class=hub.com/aas-core-works/aas-core-codegen/commit/dc31e0808caf61e8b6a8377339dbfd19e92c38b0">dc31e0808988b878206931a4cfa073a3bR8 [[2]]: diffhunk://#diff-dc31e0808caf61e8b6a8377339dbfd19e92c38b0988b878206931a4cfa073a3bR22-R23 [[3]]: diffhunk://#diff-ce6d9c15b6dc55a413286f44c123e5ef8R113-R119 [[4]]: diffhunk://#diff-73516f95dfec21bb48c0e56fb87fe6512R59 [[5]]: diffhunk://#diff-7942afd728a56d33c60dd3501a5537823R15 [[6]]: diffhunk://#diff-ce6d9c15b531f2e13397e36dc7b022... (continued)
320 of 336 new or added lines in 7 files covered. (95.24%)
29631 of 35240 relevant lines covered (84.08%)
3.36 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 14 |
92.89 |
aas_core_codegen/typescript/lib/_generate_xmlization.py | |
| 2 |
95.83 |
aas_core_codegen/typescript/tests/_generate_xmlization_enums_spec.py |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 3.10 - 25559082187.1 | 260 |
84.08 |
GitHub Action Run | |
| 2 | 3.11 - 25559082187.2 | 260 |
84.08 |
GitHub Action Run | |
| 3 | 3.9 - 25559082187.3 | 260 |
84.02 |
GitHub Action Run | |
| 4 | 3.12 - 25559082187.4 | 260 |
84.08 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|