-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Create interaction test harness. #27643
Create interaction test harness. #27643
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks pretty good to me, I just figured I'd drop some notes.
One thing I thought of while looking through this is that we already do have something kind of similar in the realm of deadchat control. I don't know if there would be any interest in expanding upon/somehow integrating that kind of framework?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Big fan of how it looks now
What Does This PR Do
This PR implements the skeleton of a new testing harness designed for verifying behavior between multiple objects in scenarios relatively close to in-round behavior. You can see with the sample attack chain-related test that the API is somewhat readable, allowing you to take control of a mob, give it a fake mind, spawn things on it/near it, and have it interact with those things. The goal is to have a slightly cleaner level of abstraction over the actual code performing the actions and provide useful helpers for checking the state of things.
This will probably run into some walls when it comes to mind fidelity but we'll burn that bridge when we get to it.
Why It's Good For The Game
Better tests?
Testing
Wrote em
Declaration
Changelog
NPFC