Replies: 1 comment
-
|
The infrastructure is available since #803 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We already have unit tests on the transport modules and some basic end-to-end tests of the scanners via the vECU.
But we are missing unit tests on the scanner level, meaning isolated tests for the functionality/logic of the scanner.
I see the following advantages by having those:
Based on the thoughts from Russ Cox (https://research.swtch.com/testing), I'm thinking about the following test concept:
To realize this, I see the following open points
One essential question is, how we want to express the test case logic.
Should this be in code, or in some kind of configuration language which gets then parsed by the test infrastructure.
A configuration language could be expressed as a table:
{'request': '27*', 'response': '7F2711'}{'scan-result': {0x01: {0x27: 'serviceNotSupported'}}, 'exception': none, 'events': []}{'request': '27*', 'response': 'TimeoutError'}{'scan-result': {0x01: {0x27: 'TimeoutError'}}, 'exception': none, 'events': ['reconnect']}What do you think about this topic?
Beta Was this translation helpful? Give feedback.
All reactions