Castle: The best Real-Time/Embedded/HighTech language EVER. Attempt 2
Révision | f548d776f4a14cacecd61edec78da6ddbcb097dc (tree) |
---|---|
l'heure | 2023-01-29 19:35:29 |
Auteur | Albert Mietus < albert AT mietus DOT nl > |
Commiter | Albert Mietus < albert AT mietus DOT nl > |
Added a todo-test: NoNameCollision
@@ -1,10 +1,14 @@ | ||
1 | 1 | default: all |
2 | 2 | |
3 | +all: current demo test mutmut pyanalyse XXX missing current-todo | |
4 | + | |
3 | 5 | CURRENT_TESTS = \ |
4 | - pytst/writers/CC2Cpy/test_2a_groundwork.py \ | |
5 | - pytst/writers/CC2Cpy/test_2b_EventProtocol.py \ | |
6 | + pytst/writers/CC2Cpy/test_2a_groundwork.py \ | |
7 | + pytst/writers/CC2Cpy/test_2b_EventProtocol.py \ | |
6 | 8 | |
7 | -all: current demo test mutmut pyanalyse XXX missing | |
9 | +TODO_TESTS = \ | |
10 | + pytst/writers/CC2Cpy/test_999_NoNameCollision.py \ | |
11 | + | |
8 | 12 | |
9 | 13 | ToCS_dir = _ToCS-reports/ |
10 | 14 | COVERAGE_dir = ${ToCS_dir}Coverage/ |
@@ -41,8 +45,11 @@ | ||
41 | 45 | |
42 | 46 | open: coverage-open mutmut-open |
43 | 47 | remake: veryclean coverage mutmut open |
44 | -current: | |
48 | +current: current-only current-todo | |
49 | +current-only: | |
45 | 50 | PYTHONPATH=`pwd` pytest ${PYTEST_OPTONS} ${CURRENT_TESTS} |
51 | +current-todo: | |
52 | + PYTHONPATH=`pwd` pytest ${PYTEST_OPTONS} ${TODO_TESTS} | |
46 | 53 | current-ds current-sd: |
47 | 54 | PYTHONPATH=`pwd` pytest ${PYTEST_OPTONS} --log-cli-level=DEBUG -s ${CURRENT_TESTS} |
48 | 55 |
@@ -0,0 +1,9 @@ | ||
1 | +# (C) Albert Mietus, 2022, 2023. Part of Castle/CCastle project | |
2 | + | |
3 | +import logging; logger = logging.getLogger(__name__) | |
4 | +import pytest | |
5 | + | |
6 | +@pytest.mark.skip(reason="This needs more design work first") | |
7 | +def test_999_NoNameCollision(): | |
8 | + assert False, "names will clash" | |
9 | + |