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

More integration tests documentation #812

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions tests/integration_tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ There are also two optional environment variables:

To run the tests you must first configure your Personal Access Token (PAT). If you have not yet configured your PAT you might not be able to run the tests. For more information on how to configure your Personal Access Token, please visit [this page](https://knowledge.autodesk.com/support/shotgrid/learn-explore/caas/CloudHelp/cloudhelp/ENU/SG-Migration/files/mi-migration/SG-Migration-mi-migration-account-mi-end-user-account-html-html.html?us_oa=akn-us&us_si=e1612a29-78a6-4503-9349-2ec30fc72e28&us_st=Personal%20Access%20Tokens).

You will also need to configure `CustomNonProjectEntity1`. It needs to have 2 user define fields:
- `sg_content`, a file field
- `sg_descriptor`, a string field.

How to run an integration test
------------------------------
Once the 3 main environment variables have been set, you can run the tests using `run_integration_tests.py`. This will run all the tests. If you only want to run one or more test, you can do so like this:
Expand Down