galasa-dev / projectmanagement

Project Management repo for Issues and ZenHub
7 stars 3 forks source link

Running Galasa tests using Ecosystem cps.properties within Visual Studio #1874

Closed ayushikumari3 closed 3 weeks ago

ayushikumari3 commented 1 month ago

While running Galasa tests within Visual Studio using Ecosystem cps.properties as below-

galasactl runs prepare --stream main --class com.ibm.cics.test. applicationservices.asyncservice.async/com.ibm.cics.test.applicationservices.asyncservice.async.TestFetchVariationExampl e --portfolio output.yaml

We are getting error while retrieving Stream name like this- Error: GAL1029E: Stream 'main' is not found in the ecosystem. There are no streams set up. Ask your Galasa system administrator to add a new stream with the desired name.

It's likely that galasactl used the old framework.test.streams property to detect if streams are set up.

techcobweb commented 3 weeks ago

Version 0.33.0 stopped using the old framework.test.streams property. Instead it looks at all the CPS properties for framework.test.stream.xxxx.repo... where one .repo property should exist for every stream definition.

So do a galasactl properties get --namespace framework --prefix test.stream --suffix repo and you can see for yourself how many streams you have defined so far.

ayushikumari3 commented 3 weeks ago

Yes using this , I am able to run Galasa test using Ecosystem cps.properties from Visual Studio

CaroMac commented 3 weeks ago

Doc updates regarding this are in progress - will publish as soon as complete.