theastrogoth / tera-raid-builder

A tool for simulating Tera Raid battles in Pokémon Scarlet & Violet
https://theastrogoth.github.io/tera-raid-builder/
4 stars 3 forks source link

Automatic testing? #86

Closed theastrogoth closed 1 year ago

theastrogoth commented 1 year ago

At least a couple of times, something has broken without my noticing when implementing a new feature. Most recently, I broke instruct when getting an implementation for choice locking started.

I don't have any experience with tests in Javascript/React, but having several test cases for all of the RaidCalc stuff would help prevent similar issues in the future

Ericzklm commented 1 year ago

Agreed, this is probably important. My manager would have wanted me to have a unit test suite 😆