Checkmate50 / wgpu

2 stars 2 forks source link

Set up a testing framework #4

Open Pat-Lafon opened 4 years ago

Pat-Lafon commented 4 years ago

Currently all of the working shaders and non-compiling shaders are thrown into the examples folder to be compatible with cargo --example .... Some of these examples especially non-compiling examples should be tests instead with examples being reserved for more significant programs like boids.

Checkmate50 commented 4 years ago

Are you planning to automate the testing framework at all? It might be helpful to avoid regressing features as they're added. If so, there are lots of nice tools out there that can help you check the results of testing against reference files! I think there's even one under Capra that was being developed, but I'm not sure what happened to it...

sampsyo commented 4 years ago

That would be Turnt! And more recently, Rachit's clone, Runt.