Hi Chris, sorry, I saw this too late. I agree with your idea. And I think these Both would be good additions. I already openend a PR for a "in-between" solution which allows to inject a Mock Object where requests for Type "MOCK/..." are forwarded to. This allows the Full power of frameworks like Mockito(times, timeouts, ArgumentCapturing, ...), but we can open a Confluence or a Jira ISSUE to work on a new 2.0 version.
Julian Am 01.11.18, 17:57 schrieb "Christofer Dutz" <christofer.d...@c-ware.de>: Hi Julian, Well maybe the ideal solution might be somewhere in between. How about us adding a confluence page with features the test driver should have and then we work on doing this. I was thinking of adding more useable addresses to The test driver, sort of like the simulated sensors in the Apache Edgent project. Regarding assertions ... Shouldn't this also be possible by something like this: Address: ASSERT/{value}:{type} When writing to this address, it only works if you send the right data? Or: CONSTANT/{value}:{type} So reading too just returns the value and type in the address? Chris Outlook for Android<https://aka.ms/ghei36> herunterladen ________________________________ From: GitBox <g...@apache.org> Sent: Wednesday, October 31, 2018 10:30:45 PM To: dev@plc4x.apache.org Subject: [GitHub] JulianFeinauer opened a new pull request #36: Add simple mock driver JulianFeinauer opened a new pull request #36: Add simple mock driver URL: https://github.com/apache/incubator-plc4x/pull/36 Hi all, I wrote a simple Mock Driver implementation, as I need to do some mocking for our application code. To avoid conflicts I renamed the prefix of the current existing mock driver (in core) to "spi-mock". It would be good if someone checks over my changes to see if my changes are okay. Thanks! Julian ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services