[JBoss JIRA] (JBWS-4056) Ensure all tests are written junit4 way
by Jan Blizňák (JIRA)
Jan Blizňák created JBWS-4056:
---------------------------------
Summary: Ensure all tests are written junit4 way
Key: JBWS-4056
URL: https://issues.jboss.org/browse/JBWS-4056
Project: JBoss Web Services
Issue Type: Task
Components: jbossws-cxf
Affects Versions: jbossws-cxf-5.1.7.Final
Reporter: Jan Blizňák
Currently most of the tests in JBWS project are written using @RunWith(Arquillian.class) whereas there are others extending TestCase class from junit framework. The latter is the junit3 way of writing tests which relies on test method name convention.
Furthermore, almost all tests transitively extends TestCase via JBossWSTest despite of using @RunWith. In some cases that leads to situations where some test methods are actually skipped because they miss @Test annotation, which were probably missed within migration to Arquillian.
We should ensure all tests use junit4 runners, ie. either @RunWith(JUnit4.class) or @RunWith(Arquillian.class). We also should remove inheritance from TestCase class and instead use Assert.* methods directly.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 10 months
[JBoss JIRA] (JBWS-4055) Remove the lines with index element in test configuration groovy script
by Jim Ma (JIRA)
[ https://issues.jboss.org/browse/JBWS-4055?page=com.atlassian.jira.plugin.... ]
Jim Ma updated JBWS-4055:
-------------------------
Summary: Remove the lines with index element in test configuration groovy script (was: Remove index element in test configuration groovy script)
> Remove the lines with index element in test configuration groovy script
> -----------------------------------------------------------------------
>
> Key: JBWS-4055
> URL: https://issues.jboss.org/browse/JBWS-4055
> Project: JBoss Web Services
> Issue Type: Task
> Components: jbossws-cxf
> Affects Versions: jbossws-cxf-5.1.7.Final
> Reporter: Jim Ma
> Assignee: Jim Ma
> Fix For: jbossws-cxf-5.2.0.Final
>
>
> We now have the groovy script to change some specific wildfly configuration element with index :
> def securityDomains = root.profile.subsystem.'security-domains'[0]
> This isn't the good way to get the element to change, especially there is elytron security domain is added now. This should be changed to check namspace uri to get the target element .
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 10 months
[JBoss JIRA] (JBWS-4055) Remove index element in test configuration groovy script
by Jim Ma (JIRA)
Jim Ma created JBWS-4055:
----------------------------
Summary: Remove index element in test configuration groovy script
Key: JBWS-4055
URL: https://issues.jboss.org/browse/JBWS-4055
Project: JBoss Web Services
Issue Type: Task
Components: jbossws-cxf
Affects Versions: jbossws-cxf-5.1.7.Final
Reporter: Jim Ma
Assignee: Jim Ma
Fix For: jbossws-cxf-5.2.0.Final
We now have the groovy script to change some specific wildfly configuration element with index :
def securityDomains = root.profile.subsystem.'security-domains'[0]
This isn't the good way to get the element to change, especially there is elytron security domain is added now. This should be changed to check namspace uri to get the target element .
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 10 months