greta-dev / greta

simple and scalable statistical modelling in R
https://greta-stats.org
Other
518 stars 63 forks source link

Speed up testing in greta #624

Open njtierney opened 2 months ago

njtierney commented 2 months ago

Consider options like using a tryCatch to identify specific warning behaviour:

https://www.mm218.dev/posts/2024-04-12-testing-expensive-functions/

Also consider setting up certain tests to only run on deployment with certain git keywords or such.

njtierney commented 2 months ago

Currently using lazytest in local development to only run failing tests. This brings testing time down to about 30 seconds for current critical components. We can consider this issue in more detail later.