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

Unit test - PoC #7

Open
6 tasks
jackpoz opened this issue May 31, 2015 · 5 comments
Open
6 tasks

Unit test - PoC #7

jackpoz opened this issue May 31, 2015 · 5 comments

Comments

@jackpoz
Copy link
Owner

jackpoz commented May 31, 2015

Create a unit test for TrinityCore/TrinityCore#14817 issue:

  • create a warlock
  • level to 80
  • learn Corruption rank 1 to 10
  • cast Corruption on a training dummy, save damage done by each tick
  • learn Improved Corruption rank 5
  • cast Corruption on a training dummy, verify that damage done improved by the amount specified by Improved Corruption

This could be generilized for all "spell/talent improving spell" pairs

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/19166212-unit-test-poc?utm_campaign=plugin&utm_content=tracker%2F457221&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F457221&utm_medium=issues&utm_source=github).
@DDuarte
Copy link

DDuarte commented May 31, 2015

I wonder if it is possible to quickly implement a DSL to do these kind of tests easily

@Kittnz
Copy link

Kittnz commented Jun 1, 2015

DSL?

@dufernst
Copy link

dufernst commented Jun 1, 2015

domain specific language http://en.wikipedia.org/wiki/Domain-specific_language

@jackpoz
Copy link
Owner Author

jackpoz commented Jul 10, 2015

653ff5c is supposed to help writing unit tests, like "wait for ingame opcode, select a target, cast a spell, expect dmg log opcode to have a particular dmg type and value"

@jackpoz jackpoz changed the title Unit test Unit test - PoC Sep 29, 2015
@jackpoz
Copy link
Owner Author

jackpoz commented Jun 7, 2016

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

4 participants