As Philippe said I've started a test for the JDBCSampler and AbstractJDBCTestElement using Spock: https://github.com/ham1/jmeter/blob/spock/test/src/org/apache/jmeter/protocol/jdbc/sampler/JDBCSamplerSpec.groovy but until we decide which Mocking/testing framework to use it would be great to get some test coverage on the current trunk.
Thanks Graham On 16 February 2017 at 14:46, Philippe Mouawad <[email protected]> wrote: > Great ! > I think you can go ahead > There was a discussion about a mocking framework to use. > Graham started something around spock, > Felix proposed jmockit, I don't know if he started something. > And I mentioned mockito2 but without producing anything ;) > > But maybe your work does not need a mocking framework. > > Regards > > On Thursday, February 16, 2017, Woonsan Ko <[email protected] > <javascript:_e(%7B%7D,'cvml','[email protected]');>> wrote: > >> Hi folks, >> >> Is there anyone working in unit tests for JDBC protocol? >> If not, I'd like to take a look into it next week. >> >> Cheers, >> >> Woonsan >> >> >> On Fri, Jan 6, 2017 at 2:35 PM, Philippe Mouawad >> <[email protected]> wrote: >> > Hello, >> > Thanks for your proposal. >> > Yes it is still up to date. >> > >> > You can have a look at our Sonar report to know what needs testing: >> > >> > - https://builds.apache.org/analysis/ >> > >> > Our priorities regarding tests: >> > >> > - JDBC protocol (more the NON Gui classes) >> > - HTTP (more non gui classes) >> > - org.apache.jmeter.assertions: >> > - .HTMLAssertion >> > - JSR223Assertion >> > - org.apache.jmeter.core.report >> > - org.apache.jmeter.visualizers.backend.graphite >> > - core/org/apache/jmeter/control >> > >> > Note coverage is not only related to JUnit tests but also to tests builds >> > with JMX plans and ran with Jacoco agent. >> > >> > Regards >> > >> > >> > >> > On Fri, Jan 6, 2017 at 5:32 PM, Sébastien Col <[email protected]> >> > wrote: >> > >> >> Hi, >> >> I would like to contribute to the project and I thought I could start >> >> working on the task #41118bb8 related to test suite enhancement and >> >> migration to JUnit 4. >> >> I found it from the helpwanted.apache.org site. >> >> Is it still up-to-date? >> >> Regards, >> >> Sebastien >> >> >> > >> > >> > >> > -- >> > Cordialement. >> > Philippe Mouawad. >> > > > -- > Cordialement. > Philippe Mouawad.
