Is There a Concept Like ‘Always-On’ Testing in Software Development?

0
16
Asked By CuriousCoder92 On

I've been mulling over an idea related to continuous integration and deployment (CI/CD). While CI/CD is effective, I find it can be somewhat sluggish and cumbersome when it comes to running tests. What if tests could operate independently of CI/CD? Imagine if they functioned more like GitOps—constantly active, always monitoring, and self-correcting. I'm not claiming this is a fully fleshed-out idea or anything resembling a product, but it's something that keeps crossing my mind. Many programming languages offer tools like `language test watch`, which handle much of the workload already. With an orchestrator, could there be a reality where tests converge like Kubernetes? I'm curious if anything like this exists in the market or the open-source community.

5 Answers

Answered By CodeRunner On

Many IDEs are designed to run tests continuously as you modify your code, which could lend itself well to what you're proposing. It might be the direction you're looking for!

Answered By PythonFanatic On

PyCharm does this for Python unit tests, and I bet there are other IDEs that offer similar functionality for different languages. Just keep in mind that integration tests typically need to be run after a proper build has taken place.

Answered By CodeMonitor On

Sounds like what you’re describing is basically monitoring! It's about having that real-time feedback loop for your tests and code changes, right?

Answered By TestDrivenDev On

You might want to look into RED-GREEN-REFACTOR patterns, which can be incorporated into a pipeline alongside Behavior-Driven Development (BDD). While I don’t believe in pushing for full coverage on every piece of code, having a clear contract about what areas require a specific level of coverage could be beneficial. The key point here is to write tests before you implement the code, not after—it's a game changer!

Answered By DevTrailblazer On

There’s a platform called Darklang that started out with some of these concepts, but they've evolved a bit. It's worth exploring what they were aiming at!

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.