Or: why test-first development is not the same as test-driven development



Spreading knowledge on software testing and the value it can provide, as well as a location to ask questions about implementations or testing strategies or frameworks
Icon base by Delapouite under CC BY 3.0 with modifications to add a gradient
-
Software Testing @programming.dev lysdexic @programming.dev buttondown.com Verification-First Development -
Software Testing @programming.dev lysdexic @programming.dev Avoiding Test-Case Permutation Blowout (2021)
www.stevenhicks.me Avoiding Test-Case Permutation BlowoutSometimes you want to write tests for a business rule that's based on multiple variables. Covering every possible permutation of the variables quickly becomes unsustainable. I've found myself using a different approach β one test for the positive case, and one test for each variable's negative case.
-
Software Testing @programming.dev canpolat @programming.dev dunnhq.com Prefer test-doubles over mocking frameworksThis post looks at the benefits of test-doubles over mocking frameworks
-
Software Testing @programming.dev Mac @programming.dev smashingmagazine.com Five-Second Testing: Taking A Closer Look At First Impressions (Case Study) β Smashing MagazineFive-second testing is a popular method of usability research used in the industry, yet in essence, its core belief boils down to virtually a superstition. Eduard Kuric looks under the hood at how first impressions are affected by various factors and how UX researchers and product owners can ensure ...
-
Software Testing @programming.dev Annamasv @programming.dev Best resources to learn test automation, keep up with trends in it?
Hi, I am in the process of learning test automation, Selenium + Java at the moment. It seems that still, the best way to learn it is some kind of apprenticeship. (But there is an issue that there you will not learn best practices, just this given person/company practices). Most courses just skim topics, are not project focused, and do not talk about common problems and connected tools.
What was your approach to learn, do you have any sources to recommend? Is test automation your line of professional work?
-
Software Testing @programming.dev ruffsl @programming.dev cross-posted from: https://programming.dev/post/619886
As of version 3.42.0 (2023-05-16), the SQLite library consists of approximately 155.8 KSLOC of C code. (KSLOC means thousands of "Source Lines Of Code" or, in other words, lines of code excluding blank lines and comments.) By comparison, the project has 590 times as much test code and test scripts - 92053.1 KSLOC.
- Four independently developed test harnesses
- 100% branch test coverage in an as-deployed configuration
- Millions and millions of test cases
- Out-of-memory tests
- I/O error tests
- Crash and power loss tests
- Fuzz tests
- Boundary value tests
- Disabled optimization tests
- Regression tests
- Malformed database tests
- Extensive use of assert() and run-time checks
- Valgrind analysis
- Undefined behavior checks
- Checklists
Related discussions:
-
Software Testing @programming.dev LemmyStartNow @programming.dev Java/ JS/ Python for Selenium WebDriver - Which language to choose?
Hello, I've posted this question previously but thought I might post here for a more accurate community. Apologies in advanced.
Manual QA here want to start learning Test Automation. Coming from a non-tech background will make it a bit of a challenge but Iβm looking to βtestβ myself.
Out of the three languages (Java, JS, Py), which should I focus on learning to get the best knowledge to apply when eventually using Selenium WebDriver?
I would like to comprehend all three later on in the future but for now which is the best to start off or continue with. Many have mentioned Python is beginner-friendly approach to learning programming and less stressful, but I see a lot of tutorials for Selenium webdriver being taught using Java, Also I heard JS is being implemented a lot more and more nowadays.
-
Software Testing @programming.dev lackthought @lemmy.sdf.org Software Testing in Continuous Delivery
www.atlassian.com Software Testing in Continuous Delivery | AtlassianContinuous delivery leverages a battery of software testing strategies to create a seamless pipeline that automatically delivers completed code tasks.
Learn the benefits of software testing, and its role in continuous delivery.
Software testing is an organizational process within software development in which business-critical software is verified for correctness, quality, and performance. Software testing is used to ensure that expected business systems and product features behave correctly as expected