cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John D. Ament" <>
Subject CDI testing module
Date Wed, 03 Aug 2016 00:35:51 GMT

Long time user, first time contributor to CXF.  Though I'm no stranger to
the ASF by any long shot.

I was looking at putting in some fixes for issues I reported.  First one
was a non-problem.  However, when trying to figure out how to add tests to
ensure that empty application class applications work fine (CXF-6986), I
realized that the current testing structure in systest wouldn't work.

It looks like this test code is doing a few odd things.  First, its
assuming that Weld is the only testable container.  The ASF actually hosts
the other CDI impl, OpenWebBeans.  Second, its always doing classpath
scanning.  This strategy would mean I need a separate module to test my
feature, which is a little odd.

I was wondering if there was any interest in converting this to an
arquillian based test?  The test code could be platform inspecific,
allowing tests to be created for both CDI impls, improving compatibility.

in case it helps understand the problem, my proposed changes can be seen

- John

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message