07-29-2024 09:41 AM
Hi everyone,
I'm currently working on integration tests in ACS Enterprise 7.4.1 that were made by some of my colleagues a couple of years ago, and now I have to switch from JUnit4 to JUnit5.
The integration tests need to be running inside an existing ACS instance.
What worries me is this bit of info I found in alfresco-sdk docs on Github :
"In summary, if you want to execute your integration tests inside an existing ACS instance, you'll need to annotate them with the JUnit RunWith annotation and set the value to AlfrescoTestRunner.class."
But RunWith annotation doesn't exist in JUnit5 and if we inspect AlfrescoTestRunner we can see that it extends BlockJUnit4ClassRunner. All of this makes me think that JUnit5 cannot be used with integration tests on ACS Enterprise 7.4.1 .
I'm a beginner when it comes to working with Alfresco products, and any help you can give me to solve my problem would be greatly appreciated.
Thanks !
Explore our Alfresco products with the links below. Use labels to filter content by product module.