Castle: The best Real-Time/Embedded/HighTech language EVER. Attempt 2
Revisão | 64a8cdf1e9e71b9fad8d38014ffe05cc4258add5 (tree) |
---|---|
Hora | 2023-01-29 20:26:25 |
Autor | Albert Mietus < albert AT mietus DOT nl > |
Commiter | Albert Mietus < albert AT mietus DOT nl > |
start with Component/Interface
@@ -2,13 +2,16 @@ | ||
2 | 2 | |
3 | 3 | all: current demo test mutmut pyanalyse XXX missing current-todo |
4 | 4 | |
5 | -CURRENT_TESTS = \ | |
5 | +LAST = \ | |
6 | 6 | pytst/writers/CC2Cpy/test_2a_groundwork.py \ |
7 | 7 | pytst/writers/CC2Cpy/test_2b_EventProtocol.py \ |
8 | - | |
8 | +# | |
9 | +CURRENT_TESTS = \ | |
10 | + pytst/writers/CC2Cpy/test_3_Interface.py \ | |
11 | +# | |
9 | 12 | TODO_TESTS = \ |
10 | 13 | pytst/writers/CC2Cpy/test_999_NoNameCollision.py \ |
11 | - | |
14 | +# | |
12 | 15 | |
13 | 16 | ToCS_dir = _ToCS-reports/ |
14 | 17 | COVERAGE_dir = ${ToCS_dir}Coverage/ |
@@ -46,12 +49,14 @@ | ||
46 | 49 | open: coverage-open mutmut-open |
47 | 50 | remake: veryclean coverage mutmut open |
48 | 51 | |
52 | +last: | |
53 | + PYTHONPATH=`pwd` pytest ${PYTEST_OPTONS} ${LAST} | |
54 | +current-only: | |
55 | + PYTHONPATH=`pwd` pytest ${PYTEST_OPTONS} ${CURRENT_TESTS} | |
49 | 56 | current: |
50 | 57 | PYTHONPATH=`pwd` pytest ${PYTEST_OPTONS} ${CURRENT_TESTS} ${TODO_TESTS} |
51 | -current-only: | |
52 | - PYTHONPATH=`pwd` pytest ${PYTEST_OPTONS} ${CURRENT_TESTS} | |
53 | 58 | current-todo: |
54 | - PYTHONPATH=`pwd` pytest ${PYTEST_OPTONS} | |
59 | + PYTHONPATH=`pwd` pytest ${PYTEST_OPTONS} ${TODO_TESTS} | |
55 | 60 | current-ds current-sd: |
56 | 61 | PYTHONPATH=`pwd` pytest ${PYTEST_OPTONS} --log-cli-level=DEBUG -s ${CURRENT_TESTS} |
57 | 62 |
@@ -0,0 +1,6 @@ | ||
1 | +# (C) Albert Mietus, 2022, 2023. Part of Castle/CCastle project | |
2 | + | |
3 | +__all__ = ['CC_B_ComponentInterface', ] | |
4 | + | |
5 | +from .CCbase import * | |
6 | +class CC_B_ComponentInterface(CC_Base): pass |
@@ -0,0 +1,7 @@ | ||
1 | +# (C) Albert Mietus, 2022, 2023. Part of Castle/CCastle project | |
2 | + | |
3 | +import logging; logger = logging.getLogger(__name__) | |
4 | +import pytest | |
5 | +from . import * # CCompare | |
6 | + | |
7 | +from castle.writers.CC2Cpy.Component import * # CC_B_ComponentInterface |