plc4x-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christofer Dutz <>
Subject Re: [DISCUSS] Move the xml files for the parser/serializer tests and the driver integration tests into the protocol modules?
Date Fri, 16 Oct 2020 07:39:36 GMT
Hi Folks,

so in the plc4go branch I did the changes and all of the adjustments in the tests this change
In the end it seems I needed to go down the "test-jar" path as "provided" resources don't
seem to be included in the default classpath and I therefore couldn't load them.
But with the test-jar it works nicely.


´╗┐Am 14.10.20, 12:51 schrieb "Christofer Dutz" <>:

    And I will put them in the "src/main/resources" directory.
    The mspec is used for the code generation and isn't bundled with the driver.
    If I put it in "src/test/resources", this would make packaging and using it more difficult.


    Am 14.10.20, 12:50 schrieb "Christofer Dutz" <>:

        Ok ... so I'll do this in my plc4go branch.

        If you happen to need that for python ... just ping me.


        Am 14.10.20, 12:48 schrieb "Otto Fowler" <>:


            On October 14, 2020 at 05:38:26, Christofer Dutz (

            Hi all,

            currently the Java drivers are the only ones having support for the XML
            testsuites I built.
            Now I would like to setup the same testsuite infrastructure for my PLC4Go

            For that I would need the same XML test-definitions.

            So I thought, and I think we discussed this at least on slack before, it
            would be cool to move these test-definitions into the protocol modules.

            This way we can define the mspecs and provide tests for the mspecs which
            are theoretically runnable on all platforms in the same module.

            So if we extend an mspec and add some additional test declarations, these
            should automatically run in all languages we support.

            What do you think?


View raw message