engswee / flashpipe

The CI/CD Companion for SAP Integration Suite
https://engswee.github.io/flashpipe/
Apache License 2.0
33 stars 11 forks source link

Unit Test #23

Closed Slydew closed 1 year ago

Slydew commented 1 year ago

Dear,

Did we have roadmap about unit test with Flashpipe 3 ? If not what we could use to do there in it ?

Certainly I could use Flashpipe3 CLI and Flashpipe 2 for testing on CF.

Regards

engswee commented 1 year ago

Could you provide more details into what you are trying to achieve? What are you trying to test?

Can you check if the example in the github-actions branch below is similar to your use case? https://github.com/engswee/flashpipe-demo/tree/github-actions

Slydew commented 1 year ago

Sorry,

I used class io.github.engswee.flashpipe.cpi.simulation.Simulator for mapping UT.

Sure I could use it like your sample for groovy UT.

regards

engswee commented 1 year ago

Simulator works only on Neo because it is using non-public APIs

FlashPipe 3 no longer supports Neo (announcement here), but you can still use FlashPipe 2 for Neo.

Slydew commented 1 year ago

Will we have simulator API on CF ? Any road map for that ? and for Flashpipe ?

engswee commented 1 year ago

The non-public simulation API that works on Neo does not work on CF. SAP has on the roadmap for a public API for simulation, but when that will be delivered is up to SAP which it out of my control. Only after it is publicly available from SAP, I can then assess the feasibility of incorporating it into FlashPipe.

In short: if you are on CF, there are no current plans for simulation capability on FlashPipe.

Slydew commented 1 year ago

Thanks you