Filter
Exclude
Time range
-
Near
Se você está perdido em qual framework de testes usar, vem comigo nessa dica 🔥 Já usei Mocha, Tap, Jest e outros e sempre quis que o Node.js tivesse uma ferramenta interna que fosse otimizada 🤨 E finalmente na versão 20 o test runner foi promovido à estável e já conta com tudo que é necessário para começar a testar suas aplicações 🔥🥳 De cara, você pode usar Mocking (inspirado no Sinon, que o Jest usa), hooks como "describe", "after", "before" e mais, FakeTimers (que participei da implementação da primeira versão), e muito mais! Menos uma dependência e ainda mais rápido que alguns dos concorrentes? Vale a pena dar uma chance 🔥 E se você quer acompanhar conteúdos diários de JavaScript, clica na minha foto e já me segue 💥 #NodejsTesting #JavaScriptTests #TestRunner #NativeTesting #NodejsNativeTests #TestOptimization #MockingFunctions #FakeTimers #JavaScriptFrameworks #TestingTools
1
10
59
6,505
🎯 Are you finding it hard to mock standalone functions in #Dart when testing? Worry no more! This blog post 📚 offers in-depth insights on leveraging Dart's first-class functions for a more functional programming approach. 🧪 Discover how to create abstractions for functions without adding complex classes, integrate them seamlessly with your widgets, and use them effectively in your tests. 🚀 This post covers everything from explaining the issue with functions to providing solutions and examples using the ioc_container library! 💡 Stay ahead of the curve and simplify your Dart testing journey by embracing functions as dependencies. 🌟 Read the blog post now 👉christianfindlay.com/blog/fl… #FlutterDev #Testing #MockingFunctions #FunctionalProgramming

1
2
801