Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/adapt instru aux to dt interface #85

Merged

Conversation

BKaDamien
Copy link
Contributor

Just adapt instrument auxiliary

BKaDamien and others added 30 commits March 23, 2022 10:34
feat: make the proxy agnostic of transitioning messages

* - change dut, proxy, example aux response handling

- change return type for c_pcan_can, cc_example, cc_proxy, cc_raw_loopback, ...
- change black version from pre-commit hooks
- change connector interface typehint
- run pre-commit

* - adapt record/uds aux to channel response type chnage

- adapt typehint

* - adapt test for lauterbach, pcan, proxy rtt_segger

* - correct com aux receive_message return

- adapt test

* - adapt proxy record dut tcp_ip and example  auxes pytest

* - correct last warning regarding pytestrecord_aux

- correct proxy mp aux pytest ravoid log creation
- adapt proxy aux

* - adapt conector base class typehint return

- avoid breaking changes on user side regrading com aux

* refactor: change connectors return type to ensure proxy auxiliary agnostic design

test: adapt the whole tests folder to connectors brand new return type

* - move paragraph related to connector parameters and return type under Communication channel

* - correct misspelling

* - adap rtt_segger return type : in exception raise return {"msg": None}

* - handle None return vale from wait_and_get_report in com aux

- extend com_aux pytest
- just rework connector mother class by using dedicated tx and rx lock
- add initialize loggers to dt aux interfcace
- remove return from finally clause in test_execution
- switch com aux to dt aux interface
- add missing docstring and inhert dt interface to abc
- rewrite connector interface pytest
- add double threaded proxy auxiliary
- add double threaded cc proxy channel
- add missing method get_aux_by_alias in confi registry
- rework cc_mp_proxy pytest
- add brand new impleenation of cc_proxy (with callback mechanism)
- rework cc_proxy pytest
- add dynamic aux oncfiguration in sphinx
- rework template example for com aux and proxy aux
feat: adapt communication auxiliary to use the double threaded interface instead of the threaded one
feat: adapt proxy auxiliary to use the double threaded interface instead of the threaded one
feat: adapt cc_proxy channel to callback mechanism introduce by the brand new proxy auxiliary
docs: add double threaded auxiliary reference and usage
test: adapt/add com_aux, proxy channel/aux, double threaded interface pytests
- rename detached_tx_callback in detach_tx_callback
- adapt pytest
BKaDamien and others added 18 commits June 28, 2022 09:11
# Conflicts:
#	docs/whats_new/version_ongoing.rst
#	src/pykiso/__init__.py
…t/adapt_dut_aux_to_dt_aux_interface

# Conflicts:
#	tests/conftest.py
- rework all pytest for dut_auxiliary implementation
# Conflicts:
#	src/pykiso/interfaces/dt_auxiliary.py
#	src/pykiso/lib/auxiliaries/communication_auxiliary.py
#	src/pykiso/lib/auxiliaries/proxy_auxiliary.py
…d of the threaded one

feat: add FlasherExample connector (only for testing purpose)
refactor : DUT auxiliary robot version is fully using pykiso interface (TestEntity class usage remove)
refactor : refactor DUT auxiliary implementation
refactor : remove unnecessary example_test_auxiliary (duplicate code)
refactor : remove unnecessary code from test_message_handler module
test: adapt DUT auxiliary pytest (Robot version too)
@codecov
Copy link

codecov bot commented Jul 5, 2022

Codecov Report

Merging #85 (6aa013d) into master (44ff7ff) will increase coverage by 0.04%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #85      +/-   ##
==========================================
+ Coverage   94.62%   94.66%   +0.04%     
==========================================
  Files          68       68              
  Lines        4876     4876              
==========================================
+ Hits         4614     4616       +2     
+ Misses        262      260       -2     
Impacted Files Coverage Δ
..._control_auxiliary/instrument_control_auxiliary.py 96.59% <100.00%> (+2.27%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 44ff7ff...6aa013d. Read the comment docs.

@sebastianpfischer sebastianpfischer linked an issue Jul 5, 2022 that may be closed by this pull request
@sebastianpfischer sebastianpfischer merged commit b2fa3c7 into eclipse:master Jul 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve performances (with OS ressources)
3 participants