Skip to content

Tests/end to end setup#150

Merged
colezemind merged 21 commits intomasterfrom
Tests/endToEndSetup
Oct 17, 2024
Merged

Tests/end to end setup#150
colezemind merged 21 commits intomasterfrom
Tests/endToEndSetup

Conversation

@BellringerQuinn
Copy link
Copy Markdown
Contributor

@CalvinKork I put together a PoC automated end-to-end test for the Indexer

The test is inside a separate plugin (SequenceTests) as recommended in this doc. Let me know if you have any thoughts or concerns with this approach.

To run the tests (Mac instructions)

  1. Open Unreal Engine
  2. From the top bar: Tools > Test Automation -> This will open a new window "Session Frontend"
  3. Select the Automation tab
  4. There is a drop down selector at the top left of the window right below the play button - make sure that is on Standard Tests or All Tests
  5. Tick the box beside "SequencePlugin"
  6. Click the Play button

PC instructions may differ slightly - if so, this doc is hopefully up to date https://dev.epicgames.com/documentation/en-us/unreal-engine/automation-system-in-unreal-engine

I also found these https://github.com/0xsequence/sequence-unreal/tree/master/Plugins/SequencePlugin/Source/SequencePlugin/Private/Tests
Some of these tests are available in the automated testing framework under "Public" - we may want to consider moving them
Some of these tests are not available in the automated testing framework but we can likely adapt/modify them to fit; though they may have other purposes that I don't have the context for
Thoughts?

…e house for our tests without requiring our users to import them into their project
Copy link
Copy Markdown
Contributor Author

@BellringerQuinn BellringerQuinn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the improvements here Calvin. Looks good, but I can't approve officially since I created the PR

BellringerQuinn and others added 13 commits September 23, 2024 15:03
…Common - here we will house any constants needed
…age will cause the page to be omitted from the JSON as opposed to being included with default values - this resolves a bug where we got no responses.
…default page was being provided instead of omitted causing fetching errors
…FSeqGetTokenSuppliesMapArgs JSON - it was missing commas between key value pairs in the token map array and was throwing errors on request. Added constructor to FSeqTokenList struct.
@BellringerQuinn BellringerQuinn mentioned this pull request Sep 26, 2024
Copy link
Copy Markdown
Contributor

@colezemind colezemind left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good, current setup tests all run without issue.

@colezemind colezemind merged commit 1b7c9ed into master Oct 17, 2024
@colezemind colezemind deleted the Tests/endToEndSetup branch October 17, 2024 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants