Skip to content
This repository was archived by the owner on Mar 13, 2020. It is now read-only.

Commit c496b75

Browse files
authored
Clean up file structure (#32)
* clean up tests structure and base folder
1 parent 402c6db commit c496b75

12 files changed

+18
-17
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ _Notes:_
7676

7777
### Examples
7878

79-
See `test_*.cmd` scripts for usage samples.
79+
See `./tests/integration_tests/test_*.cmd` scripts for usage samples.
8080

8181
## Development
8282

@@ -143,7 +143,7 @@ _See [Postgres docs](https://www.postgresql.org/docs/9.1/static/auth-pg-hba-conf
143143

144144
_Setup:_
145145

146-
Create a new SQL Server Login/User using the script below. Make sure you update it with your desired password and if you update the username/login, please ensure the changes are reflected in: `rdl/tests/config/connection.json`, which can be created using `rdl/tests/config/connection.json.template`.
146+
Create a new SQL Server Login/User using the script below. Make sure you update it with your desired password and if you update the username/login, please ensure the changes are reflected in: `./tests/unit_tests/config/connection.json`, which can be created using `./tests/unit_tests/config/connection.json.template`.
147147

148148
```sql
149149
USE master;

appveyor.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -47,28 +47,28 @@ build_script:
4747

4848
test_script:
4949
# unit tests
50-
- test_run_unit_tests.cmd
50+
- .\tests\unit_tests\run_unit_tests.cmd
5151

5252
# integration tests
53-
- test_full_refresh_from_csv.cmd
54-
- test_full_refresh_from_mssql.cmd
55-
- test_incremental_refresh_from_csv.cmd
56-
- test_incremental_refresh_from_mssql.cmd
57-
- test_audit.cmd
53+
- .\tests\integration_tests\test_full_refresh_from_csv.cmd
54+
- .\tests\integration_tests\test_full_refresh_from_mssql.cmd
55+
- .\tests\integration_tests\test_incremental_refresh_from_csv.cmd
56+
- .\tests\integration_tests\test_incremental_refresh_from_mssql.cmd
57+
- .\tests\integration_tests\test_audit.cmd
5858

59-
- test_full_refresh_from_mssql.cmd
60-
- test_incremental_refresh_from_mssql.cmd
59+
- .\tests\integration_tests\test_full_refresh_from_mssql.cmd
60+
- .\tests\integration_tests\test_incremental_refresh_from_mssql.cmd
6161

6262
- sqlcmd -b -E -f 65001 -S "(local)\SQL2016" -d RelationalDataLoaderIntegrationTestSource -i .\tests\integration_tests\mssql_source\source_database_setup\change_compound_pk.sql
6363

64-
- test_incremental_refresh_from_mssql.cmd
64+
- .\tests\integration_tests\test_incremental_refresh_from_mssql.cmd
6565

6666
- sqlcmd -b -E -f 65001 -S "(local)\SQL2016" -d RelationalDataLoaderIntegrationTestSource -i .\tests\integration_tests\mssql_source\source_database_setup\change_large_table.sql
6767

68-
- test_full_refresh_from_mssql.cmd
69-
- test_audit.cmd
70-
- test_pi_leak.cmd
71-
- test_mssql_failover_server.cmd
68+
- .\tests\integration_tests\test_full_refresh_from_mssql.cmd
69+
- .\tests\integration_tests\test_audit.cmd
70+
- .\tests\integration_tests\test_pi_leak.cmd
71+
- .\tests\integration_tests\test_mssql_failover_server.cmd
7272

7373
on_finish:
7474
#Enable this line to make the build pause after completion for RDP troubleshooting.

tests/__init__.py

Whitespace-only changes.

test_full_refresh_from_csv.cmd renamed to tests/integration_tests/test_full_refresh_from_csv.cmd

File renamed without changes.

test_full_refresh_from_mssql.cmd renamed to tests/integration_tests/test_full_refresh_from_mssql.cmd

File renamed without changes.

test_incremental_refresh_from_csv.cmd renamed to tests/integration_tests/test_incremental_refresh_from_csv.cmd

File renamed without changes.

test_incremental_refresh_from_mssql.cmd renamed to tests/integration_tests/test_incremental_refresh_from_mssql.cmd

File renamed without changes.

test_mssql_failover_server.cmd renamed to tests/integration_tests/test_mssql_failover_server.cmd

File renamed without changes.

0 commit comments

Comments
 (0)