Closed mgerhardy closed 10 months ago
I don't see the interest to do that. Actually users can simply save the PL/SQL DDL code to a file and execute ora2pg on it.
ora2pg -c config/ora2pg.conf -t FUNCTION -i my_fct_file.sql
all my regression test are built based on this king of calls and with a diff on the expected output.
but wouldn't at least be a pipeline useful that executes your regression tests to tell users that they haven't broken anything with their patch?
Yes it would, but the problem it that there is non public PL/SQL code in these regression tests so it is kept private.
I do not yet fully understand the needed parameters for the function and this should only serve as a base for further discussions
call this with:
perl -Ilib t/*.t
This would allow users to report failing conversions with simple test cases that everyone can reproduce easily