Make the data in your tests visible, reviewable, and easily editable because the data is where the value is.
Blogged: Rage Against the Machinery https://qahiccupps.blogspot.com/2023/09/rage-against-machinery.html #testing #unitTests #data
https://medium.com/@zelldon91/advanced-test-practices-for-helm-charts-587caeeb4cb - #Helm testing methodology including #UnitTests and #IntegrationTests with #TerraTest. Golden results file is brilliant https://github.com/Zelldon.
#helm #unittests #integrationtests #terratest
Introduction to Unit Tests in R – free webinar this Wednesday, 23 August, 1:00-2:00 pm UK time / 8 am EDT. With Tom Jemmett, Senior Data Scientist, NHS Strategy Unit. Hosted by @NHSrCommunity .
https://nhsrcommunity.com/events/august-2023-webinar-introduction-to-unit-tests-in-r-tom-jemmett-senior-data-scientist-the-strategy-unit/
#rstats #UnitTests @rstats
For my #fortran tensor toolbox (module) I'd like to add some unit tests. Unfortunately, my knowledge and experience in Fortran ends with writing this little toolbox and some user materials for #fea software like #abaqus or #marc. Do you have any recommendation or tutorials on how to add unit tests to a #fortran module? Ideally with Github Actions integration... 💡 Thanks!
#fea #scientificcomputing #fortran #finiteelement #unittests
#unittests #FiniteElement #scientificcomputing #marc #abaqus #fea #fortran
When you start adding tests to a project it's always like:
"Yeah! The coverage is 30%!"
**Then after a few more tests:**
"Good, it's now 50%, I'm going to hit 80%"
**But when it reaches 75%:**
"Shit! I just added 20 lines just to cover 0.03%?!"
I wrote a unit test at work to expose a bug that we found, then solved the bug and the unit test passed. Yay 🫨
Expanding test coverage while writing a new feature.
Got to that stage where I really don't like some of the existing behaviour, but better to document it explicitly in the tests, than to not have coverage.
That is what I keep telling myself anyway.
I'm excited to do "Scaling the #Testing Pyramid in #TypeScript with #SandSMedia today. #UnitTests, #IntegrationTests, #ComponentTests, #e2eTests, demos galore. Join us at https://devm.io/scaling-the-testing-pyramid-in-typescript/, slides: https://robrich.org/slides/web-test-all-the-things/, code: https://github.com/robrich/web-test-all-the-things
#testing #typescript #sandsmedia #unittests #integrationtests #componenttests #e2etests
Join us today at 4:00 PM CEST / 10:00 AM EDT!
Come meet Code Intelligence CTO Niklas Henrich live and join a discussion on how your unit tests can be enhanced with self-learning AI to reveal bugs and security vulnerabilities that would otherwise go unnoticed.
Stay tuned to the end for interactive questions and a live Q&A.
#unittests #SpringBoot #apitest
Of all the wrongheaded reasons to use #Typescript I think "so I don't have to write #tests" is the brainwormiest.
Y'all made people think they had to write #UnitTests for everything instead of just #FunctionalTests for the important things, and they hated it so bad they invented a new language to automate it and forgot they still need to write #tests.
#softwareDevelopment #webDev #javascript #testing #tdd #programming #type
#type #programming #tdd #testing #javascript #webdev #softwaredevelopment #functionaltests #unittests #tests #typescript
Fala a verdade, tem coisa mais gostosa que vc poder ver a cobertura de testes de um código legado crescer, e vc saber que é um dos grandes responsáveis por isso? #Tests #UnitTests #Pytest #Python #TestEver
#tests #unittests #pytest #python #testever
How do we test a #web #app? #UnitTests? #ComponentTests? #API #tests? #End2End tests? Why yes! Join us at https://twitter.com/KWSQA's #TWaltyTalk for "Scaling the Testing Pyramid in #TypeScript" at https://kwsqa.org/wednesday-march-29-2023-scaling-the-testing-pyramid-in-typescript/, slides: https://robrich.org/slides/web-test-all-the-things/, code: https://github.com/robrich/web-test-all-the-things
#web #app #unittests #componenttests #api #tests #end2end #twaltytalk #typescript
I was given a #REST #API assignment by a #startup as part of the interview process. Here's the result written in #Python with the #Flask #framework, using a #SQLite #database.
https://github.com/boreec/REST-API
Codebase is tested with #unittests and documented via #docstring.
#docstring #unittests #database #sqlite #framework #flask #python #startup #api #rest
Why you should test games: https://youtu.be/3No2mpbHJrI #TDD #UnitTests #Automation #Development
#tdd #unittests #automation #development
Self-encouragement on Test Driven Development:
1. There are always more scenarios to add
2. 'Enough' is a judgment call
3. When bugs inevitably find their way in, you can always add more tests at that time
4. If the system under test is inherently complex (file system access, configured app permissions), remember that logical inconsistencies in your assertions will reveal each other, given enough robust scenarios
5. Regression testing will be relatively trivial
#tdd #unittests #swiftlang #swift
Wow, in Rust you can easily write tests next to the SUT. That lowers the bar for writing the first test by a lot. But is this common practise, also for larger modules with many tests? #rust #rustlang #test #unittest #unittests
#rust #rustlang #test #unittest #unittests
Fast, Independent, Repeatable, Self-validating and Timely. These are the five guidelines of F.I.R.S.T., introduced by Robert C. Martin, that describe the very basic qualitative characteristics for solitary tests. However, there are also other guidelines that are very important as well. For more information: https://leanpub.com/writing-maintainable-unit-tests
#tdd #testdrivendevelopment #unittests #unittesting #softwaredesign
#tdd #testdrivendevelopment #unittests #unittesting #softwaredesign
Why is it that creating unit tests for your code takes twice a long as the code you're testing against? I get that we need testing, but it's extremely time consuming.
#UnitTests #Testing #Coding #PyTest #PHPUnit #Python #PHP #webdevelopment
#unittests #testing #coding #pytest #phpunit #python #php #webdevelopment
How to atomatically create #unittests from backlogs in a scrum setting? This is what we hear about in this next #deRSE23 talk.
Je suis pas mécontent de ce petit bout de #code pour vérifier que ma DB #Realm est dans la bonne config avant d'entamer des tests dessus. #UnitTests #Xcode #iOSdev
#code #realm #unittests #xcode #iosdev