Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for testing of Stored Processes #10

Open
SamuelMelm opened this issue Jul 18, 2023 · 2 comments
Open

Allow for testing of Stored Processes #10

SamuelMelm opened this issue Jul 18, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@SamuelMelm
Copy link
Contributor

Stored processes are SAS programs which are stored on a SAS server and documented in a SAS metadata server. Their purpose is to be called from various SAS or other applications (SAS EG, SAS Information Delivery Portal, from Java or .NET applications etc.). SAS programs designated to be deployed as stored processes can be tested with SASUnit, but only before their deployment and additional testing is necessary as to correct passing of parameters and correct return of results.

The following is necessary

  • Establish a method to call stored processes from test scenarios, to receive results and to store them in the test scenario environment in order to able to user them in asserts. Stored processes can be called by a http request to the SAS stored process web application or by PROC STP.
  • Retrieve information about success of the execution of the stored process and write to test database
  • Use standard assertions to results delivered by the stored process

Originally created on SourceForge by amangold - 20.07.2012, 23:19

@SamuelMelm
Copy link
Contributor Author

  • component: Framework --> New_Features

Originally created on SourceForge by amangold - 14.08.2012, 07:58

@SamuelMelm
Copy link
Contributor Author

STPs may be called from a SAS Client like the EG, but are mainly used in the browser. Therefore a framework with focus on web testing like selenium should be used for this purpose.
Selenium for instance can be used to test STP prompts and all types of output delivered by the STP. Therefore I would suggest to use SASUnit for all macros used by the STP, but to use a web testing framework to test the STP itself.


Originally created on SourceForge by b-braun - 25.06.2015, 09:08

@KLandwich KLandwich added the enhancement New feature or request label Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants