DEV Community

Cover image for Testing Locally is Slowing You Down

Testing Locally is Slowing You Down

Simon Pfeiffer on October 24, 2021

Written by Lior Ben David. "If you're not using a live test environment, you're making your life harder than it needs to be." Tell me if this ...
Collapse
 
tempcke profile image
Todd Empcke

Isn't this what docker is for? Allowing you to control the env in a container then the local copy matches the remote because it is the same container

Your solution sounds like devs would be forced to use your web IDE?

Collapse
 
simoncodephere profile image
Simon Pfeiffer Codesphere Inc.

Hi Todd, so Docker definitely solves the issue for a lot of use cases, though for certain apps when it can’t sufficiently be tested locally(ie Shopify Apps, Slack Bots, or Game Servers), Docker can only get you so far. Not to mention what happens when you have to debug Docker…

Collapse
 
simoncodephere profile image
Simon Pfeiffer Codesphere Inc.

And as for your question about the IDE, we’re working on a VSCode extension to allow people who prefer their local IDE to get the full power of Codesphere without being locked-in!

Collapse
 
lewiscowles1986 profile image
Lewis Cowles

And this is what we're building at codesphere.

A nice funnel for that VC money 💸💰🤣

You should do both. The constraints of local dev can uncover poor design and complexity.

Avoiding that pain can cause more for others.

Collapse
 
lewiscowles1986 profile image
Lewis Cowles • Edited

Also for tracing remote bugs, APN and 12-factor services (with logging) can help you trace. It is always more of a pain remotely troubleshooting though.

Collapse
 
simoncodephere profile image
Simon Pfeiffer Codesphere Inc.

Hi Lewis, the idea behind what we’re building is to add all the benefits of a local test environment to a live test environment so you can get the best of both worlds!

Collapse
 
stutteringp0et profile image
Michael Richey

I test on a very underpowered local kubernetes cluster that mirrors my production environment (in every way but # of nodes). Best of both worlds.

Collapse
 
salmac86 profile image
Sal

My company could really use something like this! Great concept, excited to see it in action!
I'm the head of our QA dept and what I'd give to stop hearing, "Well, it worked for me locally.. "

Collapse
 
danp20 profile image
Dan Parry Codesphere Inc.

Hey Sal, I am the part of the product team building Codesphere, you sound like just the kind of person Im looking to talk to. Maybe we can jump on a call sometime?

Collapse
 
simoncodephere profile image
Simon Pfeiffer Codesphere Inc.

Thank you! Feel free to try us out, we would love to hear your feedback :)

Collapse
 
fatmaemilie profile image
FatmaEmilie

while local testing has its place, relying solely on it can hinder progress and slow down your development cycle. It's often more efficient to shift towards collaborative, cloud-based solutions that accelerate testing and integrate seamlessly with the overall development workflow. www fairplay24.in