-
Notifications
You must be signed in to change notification settings - Fork 18
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
Migrate PHP tests to PHP toolkit repo #21
Comments
We would appreciate them and a build server to run them on for CI builds, thanks! ;) |
@chukShirley I'm building all the Python tests as unit tests with mocking. Eventually, I'd like some integration tests too, but with mocked unit tests, you can use something like TravisCI which is awesome. |
Agreed, yes. I was specifically requesting an IBM i partition for running integration tests. It'd be useful for all client toolkits, really. I know this probably isn't the place to make the request, though. |
Yep, I agree that's really needed. I'd love something like TravisCI for open source IBM i projects. Maybe Liam can get his barryCI going. |
Let's pick one test to start with: https://github.com/IBM/xmlservice/blob/master/test/php/test_50100_ibm_db2_io_jvm_ZZJAVA.phpt (RPG Java test)
|
Note: There is a second PHP Toolkit - dependent test calling ZZJAVA. |
For reference in creating future tests, here is an XMLSERVICE test that does not need the PHP Toolkit. While written in PHP, it does NOT require the toolkit as a dependency. The test passes XML directly to the XMLSERVICE stored procedures. This test uses the ibm_db2 transport. We could adapt it using the CLI transport to remove database depencency. |
While we're converting the existing PHP tests to not use the PHP toolkit in #20, they may be useful to https://github.com/zendtech/IbmiToolkit. We should submit them over there.
The text was updated successfully, but these errors were encountered: