I searched all the web and github and there no samples how to approach automated testing for either CF MTAS app or CDS apps.
No documentation. No sample Code. Any ideas. I have been searching for 3 months now.
Request clarification before answering.
Dear Salbador,
I would suggest that you first get a clear picture what tests you want to execute:
When you follow the suggestion from Marius and use CAP for your development you can quite easy achieve Unit and System Tests including tests of the authorisations by running local tests with Mocked Authentication.
For a full blow Integration Test of the deployed MTA on SAP CP Cloud Foundry you should follow SAP Cloud Platform Backend service: Tutorial [13]: API: called: from: external: tool.
Regarding UI Tests I would suggest to do them also local as otherwise you always run into the authentication issues.
And the Theia editor David and Thomas are using is the SAP Business Application Studio. And it's available in the trial account. I suggest you check out the tutorial Set Up SAP Business Application Studio for Development again. But I would recommend to go for local development with VS Code as it's way faster and you have more control.
Best regards
Gregor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.