jboss-eap-qe / vdx-wildfly-testsuite Goto Github PK
View Code? Open in Web Editor NEWTestsuite for projectodd/vdx pretty print feature in WildFly
License: Apache License 2.0
Testsuite for projectodd/vdx pretty print feature in WildFly
License: Apache License 2.0
Move to Creaper 1.6.0 and remove workaround in ElytronTestCase
Simplify STANDALONE_* and DOMAIN_* constants in Server class
It's known whether server is in standalone or domain mode and it's not necessary to differentiate in impl classes when using constants from Server class.
Evaluate usage of Java Hamcrest
Move to WildFly 13.0.0.Beta1
Validate that error output has internationalization support
Ensure en_US locale is used, popped-up when looking at #12
Migrate to JUnit5
http://junit.org/junit5/docs/current/user-guide/#release-notes-5.0.0
Enhance tests for incomplete content:
Move to WildFly 11 Final once available
target/errors.log is appended when running all the tests
Make sure every start item operates on cleaned error.log
Appended messages can hide issues
Update Travis file to Use CR1-SNAPSHOT
On Windows I receive java.nio.file.InvalidPathException: Illegal char <:> at index 2: /w:/workspace/...
Use Path.resolve and avoid casting to String and back to Path
Fix tests to pass on IBM JDK as there are some differences in exception messages.
For example different message prefix or no info about row and column in exception.
Evaluate Spock Framework usage instead of JUnit
Enhance tests for invalid values:
Introduce Java 9 runs on Travis
Introduce JaCoCo profile for code coverage
VDX hanles unfinished comments, update MissingClosingTagTestCase#commentIsNotClosed
Enhance tests for invalid child elements
Based on dev feedback create test for [1].
Ensure tests are checking ^^^^ message so there are nice messages without EAP/WF IDs
Code coverage analysis identified few missing areas, add new tests to cover these scenarios.
Areas for improvement:
mvn versions:display-dependency-updates
suggests following updates:
[INFO] The following dependencies in Dependencies have newer versions:
[INFO] org.jboss.arquillian.junit:arquillian-junit-container ...
[INFO] 1.1.11.Final -> 1.1.13.Final
[INFO] org.jboss.logging:jboss-logging ...
[INFO] 3.3.0.Final -> 3.3.1.Final-redhat-1
[INFO] org.projectodd.vdx:vdx-core ........................... 1.1.1 -> 1.1.6
[INFO] org.wildfly.arquillian:wildfly-arquillian-container-domain-managed ...
[INFO] 1.0.2.Final -> 2.1.0.Final
[INFO] org.wildfly.arquillian:wildfly-arquillian-container-managed ...
[INFO] 1.0.2.Final -> 2.1.0.Final
[INFO] org.wildfly.extras.creaper:creaper-commands ........... 1.6.0 -> 1.6.1
[INFO] org.wildfly.extras.creaper:creaper-core ............... 1.6.0 -> 1.6.1
Issue: https://issues.jboss.org/browse/JBEAP-8539 with national characters is fixed but test is still failing. It seems to be test issue, investigate and fix the failure.
log seems to be correct, maybe test issue ?
Error Message
Input length = 1
Stacktrace
java.nio.charset.MalformedInputException: Input length = 1
at org.wildfly.test.integration.vdx.standalone.InvalidCharactersTestCase.elementWithNationalCharacters(InvalidCharactersTestCase.java:170)
Standard Output
----------------------------------------- Start InvalidCharactersTestCase - elementWithNationalCharacters -----------------------------------------
23:19:39,930 INFO [org.jboss.modules] (main) JBoss Modules version 1.6.0.Beta4-redhat-1
23:19:40,371 INFO [org.jboss.msc] (main) JBoss MSC version 1.2.7.SP1-redhat-1
23:19:40,508 INFO [org.jboss.as] (MSC service thread 1-1) WFLYSRV0049: JBoss EAP 7.1.0.Alpha1 (WildFly Core 3.0.0.Beta2-redhat-1) starting
23:19:40,705 INFO [org.jboss.as.domain.management] (MSC service thread 1-1) WFLYDM0136: Registered OpenSSL provider
23:19:42,241 ERROR [org.jboss.as.controller] (Controller Boot Thread)
OPVDX001: Validation error in standalone.xml -----------------------------------
|
| 491: </endpoint-config>
| 492: <client-config name="Standard-Client-Config"/>
| 493: <řebříček>obecný</řebříček>
| ^^^^ 'řebříček' isn't an allowed element here
|
| Elements allowed here are:
| client-config wsdl-path-rewrite-rule
| endpoint-config wsdl-port
| modify-wsdl-address wsdl-secure-port
| wsdl-host wsdl-uri-scheme
|
| 494: </subsystem>
| 495: <subsystem xmlns="urn:jboss:domain:weld:4.0"/>
| 496: </profile>
|
| The primary underlying error message was:
| > ParseError at [row,col]:[493,7]
| > Message: WFLYCTL0198: Unexpected element
| > '{urn:jboss:domain:webservices:2.0}řebříček' encountered
|
|-------------------------------------------------------------------------------
23:19:42,243 ERROR [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0055: Caught exception during boot: org.jboss.as.controller.persistence.ConfigurationPersistenceException: WFLYCTL0085: Failed to parse configuration
at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:143) [wildfly-controller-3.0.0.Beta2-redhat-1.jar:3.0.0.Beta2-redhat-1]
at org.jboss.as.server.ServerService.boot(ServerService.java:373) [wildfly-server-3.0.0.Beta2-redhat-1.jar:3.0.0.Beta2-redhat-1]
at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:314) [wildfly-controller-3.0.0.Beta2-redhat-1.jar:3.0.0.Beta2-redhat-1]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_111]
23:19:42,245 FATAL [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0056: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.
23:19:42,262 INFO [org.jboss.as] (MSC service thread 1-3) WFLYSRV0050: JBoss EAP 7.1.0.Alpha1 (WildFly Core 3.0.0.Beta2-redhat-1) stopped in 9ms
Start of the server failed. This is expected.
Restoring server configuration. Configuration to be restored @org.wildfly.test.integration.vdx.utils.server.ServerConfig(profileName=, subtreeName=, configuration=standalone.xml, hostConfig=host.xml, parameterName=foo, xmlTransformationGroovy=, parameterValue=bar, subsystemName=)
----------------------------------------- Stop InvalidCharactersTestCase - elementWithNationalCharacters -----------------------------------------
Enhance tests for missing closing tag:
</subsystem>
tag is missing)-->
in <!-- comment here -->
<subsystem ... /> ... </subsystem>
In "all" profile "standalone" and "domain" tests are executed at the same time. However if any of "standalone" tests fails then no domain tests are skipped.
This requires to update value of "version.org.jboss.wildfly.dist" property in pom.xml.
Create test for https://issues.jboss.org/browse/JBEAP-8526
Lets wait ~2 weeks for dev feedback and actions.
Enhance tests for invalid characters:
<space><?xml version='1.0' encoding='UTF-8'?>
<element name="foobar>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.