Adding a "bouncycastle" provider to run the bouncycastle specific tests#204
Adding a "bouncycastle" provider to run the bouncycastle specific tests#204
Conversation
src/test/java/org/apache/xml/security/test/dom/algorithms/SignatureAlgorithmTest.java
Show resolved
Hide resolved
src/test/java/org/apache/xml/security/test/dom/signature/SignatureTest.java
Show resolved
Hide resolved
src/test/java/org/apache/xml/security/test/dom/signature/SignatureTest.java
Show resolved
Hide resolved
|
Another enhancement related to this that I was thinking is to (optionally) run all of the tests with BouncyCastle installed as the first provider. This would give us more confirmation that Santuario works with different JCE providers (those installed in the JDK or BouncyCastle). This might require some Junit wizardry that I'm not an expert enough to know if it is possible or not. |
|
Good point, I added the assumptions. Regarding tests, we could just run the tests twice as part of CI,i.e "mvn clean install; mvn clean install -Pbouncycastle" |
|
Thanks. I think you may have misunderstood my latter comment though. What I was thinking if we could run all of the tests with this profile and be sure that BC was used as the default JCE provider for all of the tests, as this would give us a better assurance that all Santuario APIs worked across the board with different JCE providers. Typically this would be done by editing the
where This might be a bit hard to pull off, but would be a very valuable feature as it would provide comprehensive interoperability testing of at least 2 different JCE providers. |
No description provided.