We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Is there any way to write tests or do TDD/BDD in p5.js?
@SovietKetchup --
If I understand your question right, p5.js is Javascript, and you are wondering if you can do Test Driven Development in Javascript.
Yes, you can! There are tons of tools out there.
More specifically, there is a p5.js tutorial on "Unit Testing and Test Driven Development" by Andy Timmons, here:
The tutorial uses node and the "mocha" test running library.
Thanks @jeremydouglass ,
I'll look into that.
Answers
@SovietKetchup --
If I understand your question right, p5.js is Javascript, and you are wondering if you can do Test Driven Development in Javascript.
Yes, you can! There are tons of tools out there.
More specifically, there is a p5.js tutorial on "Unit Testing and Test Driven Development" by Andy Timmons, here:
The tutorial uses node and the "mocha" test running library.
Thanks @jeremydouglass ,
I'll look into that.