Skip to content
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

Add more unit tests #437

Merged
merged 62 commits into from
Aug 31, 2021
Merged

Add more unit tests #437

merged 62 commits into from
Aug 31, 2021

Commits on Aug 18, 2021

  1. Configuration menu
    Copy the full SHA
    f603929 View commit details
    Browse the repository at this point in the history
  2. update Description file

    Adam Black committed Aug 18, 2021
    Configuration menu
    Copy the full SHA
    cccdaef View commit details
    Browse the repository at this point in the history
  3. rename .Rproj file.

    Adam Black committed Aug 18, 2021
    Configuration menu
    Copy the full SHA
    9508b28 View commit details
    Browse the repository at this point in the history
  4. Consolidate 'create' functions into one file.

    Adam Black committed Aug 18, 2021
    Configuration menu
    Copy the full SHA
    02260fb View commit details
    Browse the repository at this point in the history
  5. Add tests for create functions.

    Adam Black committed Aug 18, 2021
    Configuration menu
    Copy the full SHA
    f92a21c View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2021

  1. update description

    Adam Black committed Aug 19, 2021
    Configuration menu
    Copy the full SHA
    887e882 View commit details
    Browse the repository at this point in the history
  2. removed spaces in file and folder names. Regenerated ddl output. Trie…

    …d to fix Field_Level.csv file.
    Adam Black committed Aug 19, 2021
    Configuration menu
    Copy the full SHA
    867e9bb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    08bf6ee View commit details
    Browse the repository at this point in the history
  4. update docs

    Adam Black committed Aug 19, 2021
    Configuration menu
    Copy the full SHA
    e6a2940 View commit details
    Browse the repository at this point in the history
  5. add tests for write and execute functions

    Adam Black committed Aug 19, 2021
    Configuration menu
    Copy the full SHA
    ae921ed View commit details
    Browse the repository at this point in the history
  6. update documentation

    Adam Black committed Aug 19, 2021
    Configuration menu
    Copy the full SHA
    70798bb View commit details
    Browse the repository at this point in the history
  7. Add windows and linux runners in github actions.

    Adam Black committed Aug 19, 2021
    Configuration menu
    Copy the full SHA
    33919b8 View commit details
    Browse the repository at this point in the history
  8. update github actions

    Adam Black committed Aug 19, 2021
    Configuration menu
    Copy the full SHA
    a6366df View commit details
    Browse the repository at this point in the history
  9. download drivers before running tests

    Adam Black committed Aug 19, 2021
    Configuration menu
    Copy the full SHA
    d178307 View commit details
    Browse the repository at this point in the history
  10. fix small error in setup test file.

    Adam Black committed Aug 19, 2021
    Configuration menu
    Copy the full SHA
    3b2c6b5 View commit details
    Browse the repository at this point in the history
  11. debug github actions

    Adam Black committed Aug 19, 2021
    Configuration menu
    Copy the full SHA
    b54b194 View commit details
    Browse the repository at this point in the history
  12. debug github actions

    Adam Black committed Aug 19, 2021
    Configuration menu
    Copy the full SHA
    7a59d03 View commit details
    Browse the repository at this point in the history
  13. debug github actions

    Adam Black committed Aug 19, 2021
    Configuration menu
    Copy the full SHA
    639d6a9 View commit details
    Browse the repository at this point in the history
  14. debug github actions

    Adam Black committed Aug 19, 2021
    Configuration menu
    Copy the full SHA
    bce8bc5 View commit details
    Browse the repository at this point in the history
  15. fix tiny bug

    Adam Black committed Aug 19, 2021
    Configuration menu
    Copy the full SHA
    c857598 View commit details
    Browse the repository at this point in the history
  16. comment out execute ddl test

    Adam Black committed Aug 19, 2021
    Configuration menu
    Copy the full SHA
    7ecd0a5 View commit details
    Browse the repository at this point in the history
  17. fix bug in test

    Adam Black committed Aug 19, 2021
    Configuration menu
    Copy the full SHA
    cea09cf View commit details
    Browse the repository at this point in the history
  18. Add execute test back in

    Adam Black committed Aug 19, 2021
    Configuration menu
    Copy the full SHA
    c271740 View commit details
    Browse the repository at this point in the history
  19. revert accidental change in description

    Adam Black committed Aug 19, 2021
    Configuration menu
    Copy the full SHA
    fb950de View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    66a892d View commit details
    Browse the repository at this point in the history
  21. Fix schema environment variable name

    Adam Black committed Aug 19, 2021
    Configuration menu
    Copy the full SHA
    618f35f View commit details
    Browse the repository at this point in the history
  22. Add comment to github actions workflow file.

    Adam Black committed Aug 19, 2021
    Configuration menu
    Copy the full SHA
    35ce18c View commit details
    Browse the repository at this point in the history
  23. remove placeholder text in function documentation.

    Adam Black committed Aug 19, 2021
    Configuration menu
    Copy the full SHA
    948a78c View commit details
    Browse the repository at this point in the history
  24. Rename createdDdl.R to createDdl.R

    Adam Black committed Aug 19, 2021
    Configuration menu
    Copy the full SHA
    05e9b80 View commit details
    Browse the repository at this point in the history
  25. Add tests for redshift. Clean up test setup file.

    Adam Black committed Aug 19, 2021
    Configuration menu
    Copy the full SHA
    ed5fb2d View commit details
    Browse the repository at this point in the history
  26. Merge in Maxims changes. update documentation

    Adam Black committed Aug 19, 2021
    Configuration menu
    Copy the full SHA
    63ba979 View commit details
    Browse the repository at this point in the history
  27. Add imports and update docs.

    Adam Black committed Aug 19, 2021
    Configuration menu
    Copy the full SHA
    eb3d279 View commit details
    Browse the repository at this point in the history
  28. Merge Claire's DDL updates

    Adam Black committed Aug 19, 2021
    Configuration menu
    Copy the full SHA
    7e08fa1 View commit details
    Browse the repository at this point in the history
  29. Fix bug in setup test script.

    Adam Black committed Aug 19, 2021
    Configuration menu
    Copy the full SHA
    ff4f833 View commit details
    Browse the repository at this point in the history
  30. update setup file

    Adam Black committed Aug 19, 2021
    Configuration menu
    Copy the full SHA
    2b0acc8 View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2021

  1. Configuration menu
    Copy the full SHA
    cedf334 View commit details
    Browse the repository at this point in the history
  2. fix bug in setup

    Adam Black committed Aug 20, 2021
    Configuration menu
    Copy the full SHA
    d6d213c View commit details
    Browse the repository at this point in the history
  3. debug tests on github

    Adam Black committed Aug 20, 2021
    Configuration menu
    Copy the full SHA
    e68cb43 View commit details
    Browse the repository at this point in the history
  4. debug github actions

    Adam Black committed Aug 20, 2021
    Configuration menu
    Copy the full SHA
    1610328 View commit details
    Browse the repository at this point in the history
  5. debug actions.

    Adam Black committed Aug 20, 2021
    Configuration menu
    Copy the full SHA
    94ffcba View commit details
    Browse the repository at this point in the history
  6. debug actions

    Adam Black committed Aug 20, 2021
    Configuration menu
    Copy the full SHA
    3af7fdb View commit details
    Browse the repository at this point in the history
  7. debug actions.

    Adam Black committed Aug 20, 2021
    Configuration menu
    Copy the full SHA
    2a9fa71 View commit details
    Browse the repository at this point in the history
  8. Add missing secrets to yaml!!

    Adam Black committed Aug 20, 2021
    Configuration menu
    Copy the full SHA
    1f994c7 View commit details
    Browse the repository at this point in the history
  9. debug actions

    Adam Black committed Aug 20, 2021
    Configuration menu
    Copy the full SHA
    8fc2ae6 View commit details
    Browse the repository at this point in the history
  10. test connection on all platforms

    Adam Black committed Aug 20, 2021
    Configuration menu
    Copy the full SHA
    ec02071 View commit details
    Browse the repository at this point in the history
  11. add ddl execution

    Adam Black committed Aug 20, 2021
    Configuration menu
    Copy the full SHA
    c98e171 View commit details
    Browse the repository at this point in the history
  12. add windows and linux runners

    Adam Black committed Aug 20, 2021
    Configuration menu
    Copy the full SHA
    d1186aa View commit details
    Browse the repository at this point in the history
  13. Add unit tests for all databases and DDLs (#431)

    * Add github actions workflow to build package and run tests.
    
    * update Description file
    
    * rename .Rproj file.
    
    * Consolidate 'create' functions into one file.
    
    * Add tests for create functions.
    
    * update description
    
    * removed spaces in file and folder names. Regenerated ddl output. Tried to fix Field_Level.csv file.
    
    * consolidate write functions into one file. Add execute function.
    
    * update docs
    
    * add tests for write and execute functions
    
    * update documentation
    
    * Add windows and linux runners in github actions.
    
    * update github actions
    
    * download drivers before running tests
    
    * fix small error in setup test file.
    
    * debug github actions
    
    * debug github actions
    
    * debug github actions
    
    * debug github actions
    
    * fix tiny bug
    
    * comment out execute ddl test
    
    * fix bug in test
    
    * Add execute test back in
    
    * revert accidental change in description
    
    * add print statement for debugging schema error on github actions.
    
    * Fix schema environment variable name
    
    * Add comment to github actions workflow file.
    
    * remove placeholder text in function documentation.
    
    * Rename createdDdl.R to createDdl.R
    
    * Hack-a-thon updates
    
    Closes #81, #387, #239, #412, #391, #330, #408, #365, #306, #264
    
    * Changed bigint to integer for consistency
    
    * Updated DDLs
    
    * Add tests for redshift. Clean up test setup file.
    
    * Foreign key fixes
    
    * Add imports and update docs.
    
    * Fix bug in setup test script.
    
    * update setup file
    
    * Add tests for oracle and sql server. Move setup.R file.
    
    * fix bug in setup
    
    * debug tests on github
    
    * debug github actions
    
    * debug actions.
    
    * debug actions
    
    * debug actions.
    
    * Add missing secrets to yaml!!
    
    * debug actions
    
    * test connection on all platforms
    
    * add ddl execution
    
    * add windows and linux runners
    
    Co-authored-by: Adam Black <adam.black@odysseusinc.com>
    Co-authored-by: Clair Blacketer <mblacke@its.jnj.com>
    3 people committed Aug 20, 2021
    Configuration menu
    Copy the full SHA
    532be98 View commit details
    Browse the repository at this point in the history
  14. Allow user to specify output location in buildRelease

    Adam Black committed Aug 20, 2021
    Configuration menu
    Copy the full SHA
    57d40c2 View commit details
    Browse the repository at this point in the history
  15. replace outputpath with outputfolder for consitent argument names in …

    …the package.
    Adam Black committed Aug 20, 2021
    Configuration menu
    Copy the full SHA
    f7a42d5 View commit details
    Browse the repository at this point in the history
  16. Add test for buildRelease.

    Adam Black committed Aug 20, 2021
    Configuration menu
    Copy the full SHA
    b842592 View commit details
    Browse the repository at this point in the history
  17. replace outputpath with outputfolder for consistency. update document…

    …ation.
    Adam Black committed Aug 20, 2021
    Configuration menu
    Copy the full SHA
    de1c577 View commit details
    Browse the repository at this point in the history
  18. move ddl folder to inst so it is accessible from tests

    Adam Black committed Aug 20, 2021
    Configuration menu
    Copy the full SHA
    d17a4c3 View commit details
    Browse the repository at this point in the history
  19. update documentation

    Adam Black committed Aug 20, 2021
    Configuration menu
    Copy the full SHA
    13c6fc4 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    4e0f815 View commit details
    Browse the repository at this point in the history
  21. Add test for buildRelease (#432)

    * Add github actions workflow to build package and run tests.
    
    * update Description file
    
    * rename .Rproj file.
    
    * Consolidate 'create' functions into one file.
    
    * Add tests for create functions.
    
    * update description
    
    * removed spaces in file and folder names. Regenerated ddl output. Tried to fix Field_Level.csv file.
    
    * consolidate write functions into one file. Add execute function.
    
    * update docs
    
    * add tests for write and execute functions
    
    * update documentation
    
    * Add windows and linux runners in github actions.
    
    * update github actions
    
    * download drivers before running tests
    
    * fix small error in setup test file.
    
    * debug github actions
    
    * debug github actions
    
    * debug github actions
    
    * debug github actions
    
    * fix tiny bug
    
    * comment out execute ddl test
    
    * fix bug in test
    
    * Add execute test back in
    
    * revert accidental change in description
    
    * add print statement for debugging schema error on github actions.
    
    * Fix schema environment variable name
    
    * Add comment to github actions workflow file.
    
    * remove placeholder text in function documentation.
    
    * Rename createdDdl.R to createDdl.R
    
    * Hack-a-thon updates
    
    Closes #81, #387, #239, #412, #391, #330, #408, #365, #306, #264
    
    * Changed bigint to integer for consistency
    
    * Updated DDLs
    
    * Add tests for redshift. Clean up test setup file.
    
    * Foreign key fixes
    
    * Add imports and update docs.
    
    * Fix bug in setup test script.
    
    * update setup file
    
    * Add tests for oracle and sql server. Move setup.R file.
    
    * fix bug in setup
    
    * debug tests on github
    
    * debug github actions
    
    * debug actions.
    
    * debug actions
    
    * debug actions.
    
    * Add missing secrets to yaml!!
    
    * debug actions
    
    * test connection on all platforms
    
    * add ddl execution
    
    * add windows and linux runners
    
    * Allow user to specify output location in buildRelease
    
    * replace outputpath with outputfolder for consitent argument names in the package.
    
    * Add test for buildRelease.
    
    * replace outputpath with outputfolder for consistency. update documentation.
    
    * move ddl folder to inst so it is accessible from tests
    
    * update documentation
    
    Co-authored-by: Adam Black <adam.black@odysseusinc.com>
    Co-authored-by: Clair Blacketer <mblacke@its.jnj.com>
    3 people committed Aug 20, 2021
    Configuration menu
    Copy the full SHA
    40e2698 View commit details
    Browse the repository at this point in the history
  22. Add OMOP header genearator function

    Adam Black committed Aug 20, 2021
    Configuration menu
    Copy the full SHA
    fabf605 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    17a0b8c View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    b7a651d View commit details
    Browse the repository at this point in the history
  25. add changes to v5.4 (#433)

    * Add github actions workflow to build package and run tests.
    
    * update Description file
    
    * rename .Rproj file.
    
    * Consolidate 'create' functions into one file.
    
    * Add tests for create functions.
    
    * update description
    
    * removed spaces in file and folder names. Regenerated ddl output. Tried to fix Field_Level.csv file.
    
    * consolidate write functions into one file. Add execute function.
    
    * update docs
    
    * add tests for write and execute functions
    
    * update documentation
    
    * Add windows and linux runners in github actions.
    
    * update github actions
    
    * download drivers before running tests
    
    * fix small error in setup test file.
    
    * debug github actions
    
    * debug github actions
    
    * debug github actions
    
    * debug github actions
    
    * fix tiny bug
    
    * comment out execute ddl test
    
    * fix bug in test
    
    * Add execute test back in
    
    * revert accidental change in description
    
    * add print statement for debugging schema error on github actions.
    
    * Fix schema environment variable name
    
    * Add comment to github actions workflow file.
    
    * remove placeholder text in function documentation.
    
    * Rename createdDdl.R to createDdl.R
    
    * Hack-a-thon updates
    
    Closes #81, #387, #239, #412, #391, #330, #408, #365, #306, #264
    
    * Changed bigint to integer for consistency
    
    * Updated DDLs
    
    * Add tests for redshift. Clean up test setup file.
    
    * Foreign key fixes
    
    * Add imports and update docs.
    
    * Fix bug in setup test script.
    
    * update setup file
    
    * Add tests for oracle and sql server. Move setup.R file.
    
    * fix bug in setup
    
    * debug tests on github
    
    * debug github actions
    
    * debug actions.
    
    * debug actions
    
    * debug actions.
    
    * Add missing secrets to yaml!!
    
    * debug actions
    
    * test connection on all platforms
    
    * add ddl execution
    
    * add windows and linux runners
    
    * Resolving conflicts
    
    * Removing unnecessary file
    
    * Trying again to remove .DS_Store, adding to gitignore
    
    * Allow user to specify output location in buildRelease
    
    * replace outputpath with outputfolder for consitent argument names in the package.
    
    * Add test for buildRelease.
    
    * replace outputpath with outputfolder for consistency. update documentation.
    
    * move ddl folder to inst so it is accessible from tests
    
    * update documentation
    
    * Add OMOP header genearator function
    
    Co-authored-by: Adam Black <adam.black@odysseusinc.com>
    Co-authored-by: Clair Blacketer <mblacke@its.jnj.com>
    Co-authored-by: clairblacketer <clairblacketer@users.noreply.github.com>
    4 people committed Aug 20, 2021
    Configuration menu
    Copy the full SHA
    d84141b View commit details
    Browse the repository at this point in the history
  26. V5.4 (#435)

    * Add github actions workflow to build package and run tests.
    
    * update Description file
    
    * rename .Rproj file.
    
    * Consolidate 'create' functions into one file.
    
    * Add tests for create functions.
    
    * update description
    
    * removed spaces in file and folder names. Regenerated ddl output. Tried to fix Field_Level.csv file.
    
    * consolidate write functions into one file. Add execute function.
    
    * update docs
    
    * add tests for write and execute functions
    
    * update documentation
    
    * Add windows and linux runners in github actions.
    
    * update github actions
    
    * download drivers before running tests
    
    * fix small error in setup test file.
    
    * debug github actions
    
    * debug github actions
    
    * debug github actions
    
    * debug github actions
    
    * fix tiny bug
    
    * comment out execute ddl test
    
    * fix bug in test
    
    * Add execute test back in
    
    * revert accidental change in description
    
    * add print statement for debugging schema error on github actions.
    
    * Fix schema environment variable name
    
    * Add comment to github actions workflow file.
    
    * remove placeholder text in function documentation.
    
    * Rename createdDdl.R to createDdl.R
    
    * Hack-a-thon updates
    
    Closes #81, #387, #239, #412, #391, #330, #408, #365, #306, #264
    
    * Changed bigint to integer for consistency
    
    * Updated DDLs
    
    * Add tests for redshift. Clean up test setup file.
    
    * Foreign key fixes
    
    * Add imports and update docs.
    
    * Fix bug in setup test script.
    
    * update setup file
    
    * Add tests for oracle and sql server. Move setup.R file.
    
    * fix bug in setup
    
    * debug tests on github
    
    * debug github actions
    
    * debug actions.
    
    * debug actions
    
    * debug actions.
    
    * Add missing secrets to yaml!!
    
    * debug actions
    
    * test connection on all platforms
    
    * add ddl execution
    
    * add windows and linux runners
    
    * Resolving conflicts
    
    * Removing unnecessary file
    
    * Trying again to remove .DS_Store, adding to gitignore
    
    * Allow user to specify output location in buildRelease
    
    * replace outputpath with outputfolder for consitent argument names in the package.
    
    * Add test for buildRelease.
    
    * replace outputpath with outputfolder for consistency. update documentation.
    
    * move ddl folder to inst so it is accessible from tests
    
    * update documentation
    
    * Add OMOP header genearator function
    
    Co-authored-by: Adam Black <adam.black@odysseusinc.com>
    Co-authored-by: Clair Blacketer <mblacke@its.jnj.com>
    Co-authored-by: clairblacketer <clairblacketer@users.noreply.github.com>
    4 people committed Aug 20, 2021
    Configuration menu
    Copy the full SHA
    63e2979 View commit details
    Browse the repository at this point in the history
  27. Merge branch 'v5.4_unittest' of github.com:OHDSI/CommonDataModel into…

    … v5.4_unittest
    Adam Black committed Aug 20, 2021
    Configuration menu
    Copy the full SHA
    3949b9e View commit details
    Browse the repository at this point in the history