Hi all,

I just finished the next chunk of the SPI3 initiative.
As there are multiple protocols, that use COTP as a transport layer, I’ve now 
implemented a first transport, that also uses our code-generation in order to 
provide it’s functionality.
As this is the first module to use our XML based test suite, I needed to also 
greatly refactor (mainly clean up) our test-utils. Here it was simply mostly 
rearranging the types to match the types of tests that they are used for. I 
also added a little something that has proven to be super helpful in my 
ToddySoft work: A test-type that you can run based on a PCAP … it does what we 
usually do with our ParserSerialiser Tests, but simply takes a packet from a 
PCAP capture, parses that, serializes it back and checks if the two match.

It’s missing the test to verify the structure against an expected one, however 
have I had test recordings, where the XML quickly grows to be gigabytes large 
and we don’t want that in our repository. I think these quick tests improve 
testing quite a bit without the huge disadvantage of bloating our repo.

I also took the liberty to disable the OPM module in that branch. It’s a module 
that Julian built ages ago and who probably is the only person knowing how it 
works. I think we should not continue to make people think modules like this 
are still maintained and we should retire (remove) it.

Happy to hear some feedback :-)

Chris

Reply via email to