EvineDev / PonyFolk

Where horses meet
MIT License
0 stars 0 forks source link

Test Framework #4

Open chrjen opened 9 years ago

chrjen commented 9 years ago

It would be nice with a test framework which will run a bunch of unit tests and other tests. You could have a central test file which runs all the tests. Ideally you could run specific tests by passing in names or regex. It would be nice if you could run the test by passing an argument to the program, but it could be a field or something in main. Though probably shouldn't litter main much with tests.

EvineDev commented 9 years ago

Hmm... I haven't really used unit test before so if you want this feel free to implement it. printv() is a strong tool with the live code-editing to inspect variables and making sure they are correct. ui.graph() is also useful tool for arrays.(The FPS graph at the top is a ui.graph() call ).