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

Create tests for new "Self" action and corresponding view actions in the do_self_action of actionmanagement.c #1518

Open
Don-Osipov opened this issue May 21, 2022 · 1 comment

Comments

@Don-Osipov
Copy link
Contributor

We will create a new module in the tests/action_management folder since we previously created a new action type for self actions. do_self_action takes a target action to do on self, which right now includes "stats" and "effects", although it can and probably will be expanded on later. These actions are used by the CLI team to print out the current stats and stat effects of the player.
We will test both the do_self_action as a whole, and also the corresponding action functions that do_self_action uses

@HarrisonD123
Copy link
Contributor

HarrisonD123 commented May 28, 2022

Created a new Wiki page describing do_self_actions along with other action functions, which will be extremely helpful for new teams writing tests for this function.
https://github.com/uchicago-cs/chiventure/wiki/Action-Management-~-Do-Action-Functions

@HarrisonD123 HarrisonD123 changed the title Create tests for new "Self" action and corresponding view actions Create tests for new "Self" action and corresponding view actions in the do_self_action of actionmanagement.c May 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants