Commit 44a2663
authored
Generate unit tests for Python (#580)
We move the generator for unit test code from individual SDK
repositories to the aas-core-codegen repository so that we can move
faster between the actual meta-model versions. In addition, we want to
decouple the generation of the SDK from the actual version.
Earlier, we could not do that as we kept most of the test data wrapped
into an AAS environment, so it did not fit the aas-core-codegen
principle to be agnostic of AAS. In the meantime, we generate the test
data per meta-model class, and not wrapped in Environment class, in
[aas-core-testdatagen], so now generating general unit tests is
possible.
[aas-core-testdatagen]: https://github.com/aas-core-works/aas-core-testdatagen1 parent b8779a4 commit 44a2663
File tree
55 files changed
+12413
-117
lines changed- .github/workflows
- aas_core_codegen/python
- aas_common
- constants
- jsonization
- lib
- stringification
- structure
- tests
- verification
- xmlization
- dev
- dev_scripts
- integration_tests
- input/python/boilerplate
- test_data/python/test_main/aas_core_meta.v3/expected_output
- aas_core3
- dev/tests
- tests
- python
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
55 files changed
+12413
-117
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
35 | 40 | | |
36 | 41 | | |
37 | 42 | | |
38 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
39 | 46 | | |
40 | 47 | | |
41 | 48 | | |
42 | 49 | | |
43 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
44 | 53 | | |
45 | | - | |
| 54 | + | |
46 | 55 | | |
47 | 56 | | |
48 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
| |||
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
File renamed without changes.
File renamed without changes.
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
227 | | - | |
228 | 227 | | |
229 | 228 | | |
230 | 229 | | |
| |||
File renamed without changes.
0 commit comments