gluent / goe

GOE: a simple and flexible way to copy data from an Oracle Database to Google BigQuery.
Apache License 2.0
8 stars 2 forks source link

Refactor remaining story integration tests #42

Closed nj1973 closed 7 months ago

nj1973 commented 9 months ago

In issue https://github.com/gluent/goe/issues/35 we converted a few essential story tests to be functional in this new repo.

This issue is to work on converting the remaining tests in tests/integration/test_sets/stories/test_stories/ creating new tests in tests/integration/scenarios/.

You can use the existing tests as templates for how new ones should look:

$ ls -1 tests/integration/scenarios/test_*.py
tests/integration/scenarios/test_cli_api.py
tests/integration/scenarios/test_data_type_controls.py
tests/integration/scenarios/test_identifiers.py
tests/integration/scenarios/test_offload_basic.py
tests/integration/scenarios/test_offload_rpa.py

The tests yet to convert are (the ones with question marks might be irrelevant and ripe for removal):

nj1973 commented 9 months ago

https://github.com/gluent/goe/issues/48 is a pre-req to this issue

nj1973 commented 9 months ago

I've partially added PBO tests:

nj1973 commented 8 months ago

offload_esoteric has been migrated to the new tests.

nj1973 commented 8 months ago

Converted

nj1973 commented 8 months ago

Converted

nj1973 commented 8 months ago

The new todo list:

nj1973 commented 8 months ago

Re-opening for remaining tests to be refactored.

nj1973 commented 8 months ago

Only run test_offload_lpa.py::test_offload_lpa_unicode if NLS_LANG is set.

nj1973 commented 7 months ago

Refactored offload_pbo_intra offload_lpa full.

nj1973 commented 7 months ago

The new todo list:

nj1973 commented 7 months ago

Re-opening for remaining tests to be refactored.

Raise issue to add a hash partitioned table to test, either to test_offload_misc.py or new test_offload_full_part.py. If latter then move MAXVALUE test there too.