Open RadekCap opened 5 months ago
Dont forget that to run junit, you need java. Do you really wan to test jdk isntall on system polluted with java? On contrary, we already have jdk in opt to connect jenkins agents.
To get away from languages needein massive runtime (junit, xunit...) I was trying to find some other unittesting, sumamry can be found there: https://github.com/adoptium/temurin-build/issues/3741
That is leading us to perl/python. I had choosen python over bash/java once (jsf) and I would never ever repeat that mistake. But pyUnit may be not-invetigated path here (in acursed JSF, I went by to muchnon-standart path)
So gennerally spoken, I do not see reasoning to do so. Current stuff seems to be working well and is extendable (If you accept the boiler plate). If you insists it is good spending of time for future, then my choice would be junit5 eith 3rd party java. But be aware, that setup of 3rd party java (aka our opt) may be tricky on eg adoptium machines, as the test would need to unpack the 3rd party jdk beforehead.
Thanx a lot for writing it down. It really gave sense, only I'm not sure if it is worthy.
The upgrade is tricky part. In our old infra rpms-old were there to test upgrade to future one. But it is not stable. eg rerun do not work for obvious reasons. To download previous binaries is extremly hard. Zdenek tried that fro cjc, and it is extremly fagile, and vendor/os/arch specific
What is runnable application?
What is runnable application?
executable
What is runnable application?
executable
Executable is any file with +x
:) so runnable application means jsut that test wrapper? I was imagining some top level real world app run as part of msi tests which would run after install to verify it works.
Current status
We are covering several main areas
Why I would like to use a more robust testing approach than bash. It's possible to write it in nUnit/junit or something similar. Aside from robustness, we'll get significantly higher testing coverage due to the creation of testing installation variants.
Draft of implementation in nunit with TestCaseSource
What’s missing? https://github.com/adoptium/installer/blob/master/wix/README.md#features-available