How long does it take to run your smoke tests?

0
24
Asked By CuriousCoder123 On

I'm curious about how long your smoke tests typically take. I've noticed that as applications grow in complexity, it's really tempting to pack more into the smoke tests. For us, it currently takes about 15 minutes with our medium-sized codebase, and we're trying to figure out how to bring that down. We use these tests to decide if we need to roll back a deployment or not, so efficiency is key. What about you guys? How long do yours take and what's the complexity like?

4 Answers

Answered By DataWhiz79 On

What's the scope of your tests? The complexity really affects timings. Providing more details might help others give better feedback since it sounds like your tests are running too long.

QuestionAsker -

Good point! Our product deals with big data analytics which adds some startup overhead.

Answered By QuickTester88 On

I think smoke tests ideally should really take no more than a minute. If yours are taking 15, it sounds like they might be too lengthy for what they're meant to do!

QuestionAsker -

Totally get that! I might need to reevaluate what we're including in them.

Answered By FastTrackDev On

My regression tests are significantly quicker and don't take nearly that long. Smoke tests should ideally be pretty instantaneous. Are you sure you're running them efficiently?

Answered By EnviroBuilder On

When running smoke tests, it's best to spin up a fresh environment with the latest release. This way, you can deploy containers in a temporary setup just to confirm that everything initiates correctly. It shouldn’t take longer than 5 minutes if set up well. Also, preloading components could help cut down on network delays. If it's longer than that, it might be more like integration testing, which should be done separately.

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.