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
Retire Python UAT suite #3009
Comments
The phyton tests do contribute very little to the tests we already have in aehttp_suite and some other places. It probably would be worth a day or two to read each test and see whether the same thing is tested elsewhere. Possibly we end up by only a handful of tests that are still worth porting... and probably porting to something else than python. The python tests have one advantage, viz. that people not knowing Erlang see how the interface works. But, the question is whether this is still an advantage with all the SDKs we have at the moment. Users can look in a python SDK, a Go SDK or any other language of their taste to see how the interface works. |
There were two original ideas around python tests.
I think none of the original reasons is valid now. For api doc we use swagger. For non-erlang approach we have SDKs. I am fine with removing python test framework. |
I agree, the SDKs give a good idea already of how to use the API in the various languages. Porting the python tests to the system test suite makes sense as it reduces the complexity of the test setups. The python UAT is in a weird state at the moment, since it was intended to become a lot more but @lucafavatella couldn't finish that vision. |
Any ideas on who start working on this task? Do we have volunteers? Maybe @skkw, once he is done with GC. |
As discussed, let's follow @ThomasArts proposal by checking if there are tests worth porting and retire python UAT. |
Some preliminary cover statistics:
So there is not a whole lot more that is tested in uat tests. Looking into this more carefully now. |
We should get some real tests for |
In Python tests we validate Swagger file. Need to verify whether we can do enough validation on Erlang side to mimic that. |
Added a test to validate swagger as part of Erlang common test cycle. |
Currently python2.7 is used, which will be EOL in early 2020. Thus, we should update to the latest LTS version of python.This requires changes in the CI configuration as well and must be tested on all platforms.The Python UAT suite shall be retired. The tests need to be inspected for cases which are not handled by the systems tests yet. Such cases shall be ported to the system tests.
Some tests covered by the Python UAT shall be handled outside of the new UAT, see #3065 and aeternity/aeminer#17
The text was updated successfully, but these errors were encountered: