Testing Godot Code Is Harder Than Testing a Webapp. Here's What Helps.
If you've come from web development, you have muscle memory for testing. Spin up Jest, mock the...
Opening excerpt (first ~120 words) tap to expand
try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 3845272) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } Ziva Posted on Apr 28 • Originally published at ziva.sh Testing Godot Code Is Harder Than Testing a Webapp. Here's What Helps. #gamedev #godot #ai #testing If you've come from web development, you have muscle memory for testing. Spin up Jest, mock the database, hit the route, assert. Or use Playwright to drive a headless browser through a flow. CI runs the suite on every PR. You know the loop. Then you open a Godot project.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).