On Wed, Jul 2, 2014 at 11:42 AM, Nuwan Wimalasekara <[email protected]> wrote:

> moved @dev
>
>
> On Wed, Jul 2, 2014 at 11:04 AM, Krishantha Samaraweera <
> [email protected]> wrote:
>
>> Hi Sewwandi,
>>
>> You should discuss this at @dev.
>>
>> Integration tests work fine with DSS, AS, ESB and other products. We haven't
>> came across such an issue before. Since this is not reproducible with
>> other products, shall we have a debug session. Need to investigate what is
>> really going wrong here.
>>
>> Thanks,
>> Krishantha.
>>
>>
>> On Wed, Jul 2, 2014 at 8:16 AM, Sewwandi Perera <[email protected]>
>> wrote:
>>
>>> Hi all,
>>>
>>> Currently I am in the process of adding the new integration test
>>> framework to MB 3.0.0, which was recently migrated to GIT. For this, I
>>> followed the guide given in [1].
>>>
>>> Then I added test base, a test client and a test class to the project.
>>> While running, I encountered that my test cases are not getting executed. I
>>> tried adding the test class to both "testng-server-mgt.xml" and
>>> "testng.xml" but still I experience the same.
>>>
>>> Does anybody have a clue to resolve this issue?
>>>
>>
Here the issue is naming convention of the test class you have added.  The
test class name should be ended with "xxxxxxxx*TestCase*" or you have to
have at lease one test class with the name that ends with "TestCase" in the
package. Then surefire will pick the test classes properly end execute the
tests. Please rename the test class and see.

 This is a known issue in surefire plugin and We have already discussed
this issue in the mail thread  with the subject "Unexpected behavior with
Surefire plugin and TestNG"  @dev.

Thanks,
Nuwanw

>
>>> [1]
>>> http://wso2.com/library/articles/2014/06/introducing-automated-tests-for-wso2-products/
>>>
>>> Thanks,
>>> Sewwandi
>>>
>>> --
>>> Sewwandi Perera
>>> Software Engineer
>>>
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>
>>
>>
>> --
>> Krishantha Samaraweera
>> Senior Technical Lead - Test Automation
>> Mobile: +94 77 7759918
>> WSO2, Inc.; http://wso2.com/
>> lean . enterprise . middlewear.
>>
>
>
>
> --
> Nuwan Wimalasekara
> Senior Software Engineer - Test Automation
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
>
> phone: +94 71 668 4620
>
>
>
>


-- 
Nuwan Wimalasekara
Senior Software Engineer - Test Automation
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

phone: +94 71 668 4620
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to