stagemonitor / stagemonitor-mailinglist

GitHub issues abused as a mailing list
3 stars 0 forks source link

Integration Tests #8

Open felixbarny opened 9 years ago

felixbarny commented 9 years ago

I'm planing to do integration tests which verify that stagemonitor runs on various application servers, JDK versions and applications.

Arquillian seems to be a good platform for integration tests. Using Arquillian, the tests can be written using JUnit and they can be executed via gradle, maven and the IDE. So debugging the code while executing the tests is possible which is a big thing. P6Spy, the jdbc instrumentation library that stagemonitor is using also has arquillian integration tests, which could be a inspiration for stagemonitor's integration tests: https://github.com/p6spy/p6spy-it

What I want to discuss here is which example applications, application servers (and which Versions) and which JDK Versions should be tested (and thus 'officially' be supported by stagemonitor).

My first suggestion:

Applications

Application Servers (Servlet API >= 3)

JDK Versions

If someone is interested in using stagemonitor with non open source components (for example WebSphere, WebLogic, IBM JDK), feel free to contact me via f.barnsteiner(at)isys-software.de.

It won't be possible to test all permutations, because the tests would take way too long and because not all applications are compatible with all Servers (jpa-addressbook can't be run on Tomcat for example).

johnsmitherpn5 commented 9 years ago

@felixbarny : For WebSphere we can use Liberty profile runtime which is free for development. Also easy to configure in Eclipse or STS. Below is the link for download.

https://developer.ibm.com/wasdev/downloads/liberty-profile-using-non-eclipse-environments/

felixbarny commented 9 years ago

thx for the link

btsinfo commented 6 years ago

please I want to integrate stagemonitor with Webphere Application Server 8.5 however nothing works, do you please a detailed guide for that