Skip to content

Some questions about developing new protocols #1983

Answered by chrisdutz
rooterWzs asked this question in Q&A
Discussion options

You must be logged in to vote

For problem 1 multiple things need to happen for your driver to show up.

  1. You need to have a resource file in (I think) META-INF/services that lists your driver class
  2. The driver class needs to implement the Drivers interface
  3. You need to have your driver on the applications classpath (add a dependency to it)

Regarding question 2 I usually make a capture of a working solution using the protocol and then use @sruehl s tool to convert that into a parser-serializer test xml and firstly make sure that passes.

Then I take the snippets of this parser serializer test and build a driver test xml (IT - Integration test) and start implementing the driver logic. In parallel I create a manual test, th…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@rooterWzs
Comment options

Comment options

You must be logged in to vote
1 reply
@rooterWzs
Comment options

Answer selected by ottlukas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
help wanted java Pull requests that update Java code feature
3 participants