[JBoss JIRA] (SRAMP-431) Investigate using Arquillian for S-RAMP unit and integration tests
by Brett Meyer (JIRA)
[ https://issues.jboss.org/browse/SRAMP-431?page=com.atlassian.jira.plugin.... ]
Brett Meyer updated SRAMP-431:
------------------------------
Description:
Create a new s-ramp-test module to contain all integration tests. Thoughts:
- 1 central abstract class that contains all the functional tests and assertions (or if that gets too large, split it up into delegates)
- 1 Arquillian test per supported container, extending the above. Mainly in charge of the @RunWith and @Deployments.
- None of them should run by default. Pull them all into a specific Maven profile, then setup a new CI job specifically for it.
Also, many unit tests currently spin up a temporary S-RAMP server, once per test class. Eventually, investigate whether or not some of those test cases should instead be pulled into the integration tests.
> Investigate using Arquillian for S-RAMP unit and integration tests
> ------------------------------------------------------------------
>
> Key: SRAMP-431
> URL: https://issues.jboss.org/browse/SRAMP-431
> Project: S-RAMP
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Reporter: Brett Meyer
> Assignee: Brett Meyer
>
> Create a new s-ramp-test module to contain all integration tests. Thoughts:
> - 1 central abstract class that contains all the functional tests and assertions (or if that gets too large, split it up into delegates)
> - 1 Arquillian test per supported container, extending the above. Mainly in charge of the @RunWith and @Deployments.
> - None of them should run by default. Pull them all into a specific Maven profile, then setup a new CI job specifically for it.
> Also, many unit tests currently spin up a temporary S-RAMP server, once per test class. Eventually, investigate whether or not some of those test cases should instead be pulled into the integration tests.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 6 months
[JBoss JIRA] (SRAMP-453) Exception if using Backspace on CLI password prompt
by Brett Meyer (JIRA)
[ https://issues.jboss.org/browse/SRAMP-453?page=com.atlassian.jira.plugin.... ]
Brett Meyer commented on SRAMP-453:
-----------------------------------
Fixed and to be released in aesh 0.33.13. Will upgrade under this ticket
> Exception if using Backspace on CLI password prompt
> ---------------------------------------------------
>
> Key: SRAMP-453
> URL: https://issues.jboss.org/browse/SRAMP-453
> Project: S-RAMP
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: Brett Meyer
> Assignee: Brett Meyer
>
> If you mistype a password in the CLI prompt and hit Backspace 1 too many times, boom.
> S-RAMP Password: java.lang.ArrayIndexOutOfBoundsException
> at java.lang.System.arraycopy(Native Method)
> at java.lang.AbstractStringBuilder.insert(AbstractStringBuilder.java:1152)
> at java.lang.StringBuilder.insert(StringBuilder.java:336)
> at org.jboss.aesh.console.Buffer.write(Buffer.java:319)
> at org.jboss.aesh.console.Console.writeChar(Console.java:837)
> at org.jboss.aesh.console.Console.writeChars(Console.java:832)
> at org.jboss.aesh.console.Console.parseOperation(Console.java:515)
> at org.jboss.aesh.console.Console.read(Console.java:452)
> at org.overlord.sramp.shell.InteractiveShellCommandReader.promptForPassword(InteractiveShellCommandReader.java:161)
> at org.overlord.sramp.shell.ShellContextImpl.promptForPassword(ShellContextImpl.java:172)
> at org.overlord.sramp.shell.commands.core.ConnectCommand.promptForPassword(ConnectCommand.java:107)
> at org.overlord.sramp.shell.commands.core.ConnectCommand.execute(ConnectCommand.java:67)
> at org.overlord.sramp.shell.SrampShell.run(SrampShell.java:102)
> at org.overlord.sramp.shell.SrampShell.main(SrampShell.java:67)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:297)
> at java.lang.Thread.run(Thread.java:744)
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 6 months
[JBoss JIRA] (SRAMP-426) Upgrade switchyard version to 2.x
by Brett Meyer (JIRA)
[ https://issues.jboss.org/browse/SRAMP-426?page=com.atlassian.jira.plugin.... ]
Brett Meyer commented on SRAMP-426:
-----------------------------------
Verified that s-ramp-demos-switchyard still works after the upgrade. Thanks Gary!
> Upgrade switchyard version to 2.x
> ---------------------------------
>
> Key: SRAMP-426
> URL: https://issues.jboss.org/browse/SRAMP-426
> Project: S-RAMP
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Reporter: Gary Brown
> Assignee: Gary Brown
> Fix For: 0.5.0.Final, 0.5.0.Alpha1
>
>
> While doing the upgrade to IP BOM CR8 (SRAMP-245) had problems with the s-ramp-demos-switchyard-multiapp/order-service WebServiceTest - possibly an incompatibility between the older version of switchyard and the newer version of cxf in BOM CR8.
> Have ignored the test for now to complete the CR8 upgrade - but the switchyard version needs to be upgraded to the 2.x stream asap to sort out any issues.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 6 months
[JBoss JIRA] (SRAMP-426) Upgrade switchyard version to 2.x
by Brett Meyer (JIRA)
[ https://issues.jboss.org/browse/SRAMP-426?page=com.atlassian.jira.plugin.... ]
Brett Meyer updated SRAMP-426:
------------------------------
Fix Version/s: 0.5.0.Alpha1
> Upgrade switchyard version to 2.x
> ---------------------------------
>
> Key: SRAMP-426
> URL: https://issues.jboss.org/browse/SRAMP-426
> Project: S-RAMP
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Reporter: Gary Brown
> Assignee: Gary Brown
> Fix For: 0.5.0.Final, 0.5.0.Alpha1
>
>
> While doing the upgrade to IP BOM CR8 (SRAMP-245) had problems with the s-ramp-demos-switchyard-multiapp/order-service WebServiceTest - possibly an incompatibility between the older version of switchyard and the newer version of cxf in BOM CR8.
> Have ignored the test for now to complete the CR8 upgrade - but the switchyard version needs to be upgraded to the 2.x stream asap to sort out any issues.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 6 months