Mighty Haz, Weak Lua Fu
- 1 article found
| Name | Author | Last updated by | Updated on |
|---|---|---|---|
| Name | Author | Last updated by | Updated on |
| Tests and OO | MightyHaz | MightyHaz | 20 Jan 2009 |
| HazLoot has been an exercise in proving to myself that test-driven development is a really good thing. Interacting with WoW every time I make a code logic change typically meant a run through Deadmines, which was a pain. When I came to implement the Suicide Kings functionality, though, I did it in a separate file, and wrote a set of tests to validate the behaviour of each of the functions. More often than not, I wrote an assert() in the test for what I expected, ran the test to make sure it... | |||
- 1 article found