Cypress tests spring to mind. Continously test all aspects of your application.
Web Development
Welcome to the web development community! This is a place to post, discuss, get help about, etc. anything related to web development
What is web development?
Web development is the process of creating websites or web applications
Rules/Guidelines
- Follow the programming.dev site rules
- Keep content related to web development
- If what you're posting relates to one of the related communities, crosspost it into there to help them grow
- If youre posting an article older than two years put the year it was made in brackets after the title
Related Communities
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
Wormhole
Some webdev blogs
Not sure what to post in here? Want some web development related things to read?
Heres a couple blogs that have web development related content
- https://frontendfoc.us/ - [RSS]
- https://wesbos.com/blog
- https://davidwalsh.name/ - [RSS]
- https://www.nngroup.com/articles/
- https://sia.codes/posts/ - [RSS]
- https://www.smashingmagazine.com/ - [RSS]
- https://www.bennadel.com/ - [RSS]
- https://web.dev/ - [RSS]
Check what your testing organization is using first. We're using Selenium at work, except for one small team that used Cypress because they couldn't be bothered to find out what the test of us were using, so now that team is faced with either maintaining their own version of the CI pipeline and their own tooling (and not having anyone to ask for advice) or rewriting all of their tests. Not an enjoyable choice to have to make.
Those look great! I have thought about front-end testing before but was a little unsure of how to really implement it. I'll give this another look. Thanks!
Sometimes I step away from the screen and talk out is happening in my head.
Often times my coworkers and I will ask each other for help. Much of the time the person explaining will see the problem as they explain it to the other person. Usually before the other person has a chance to get the full explanation.
Also called the rubber duck debugging effect.
But yeah, articulating your thoughts, be it by talking or even by writing down your train of thoughts (which is a good habit to have while debugging complex issues) really helps spotting the holes in your own thinking.
Awesome! I found out this worked for me years ago when I was a lone dev. I would walk around muttering to myself. Glad to know there is a term I can use now!
If you work with a team, I'm gonna say the fault here is just as much on team management as it is you, for not having review and quality testing processes in place. If this is the case, maybe it's time for you to become the champion for this.
You should have SOME amount of documentation for what requirements different features are supposed to satisfy, even if it's in the form of automated testing code that exercises these requirements. Automated testing is obviously preferrable, whenever feasible, because they're the lowest-effort to perform, and the more effort it takes to test, the more likely you'll be to skip it.
As a more direct answer to the question, use version control to step up your own self-review process. When you're "done" with an implementation, review the diff of every change that you've made, and build yourself dependency trees for the modules you've changed. Use this tree to identify regression testing that you need to perform, I.E. tests to run or perform by hand to ensure that existing functionality hasn't changed.
Doing things right means you're probably gonna spend half of your time on testing or writing testing code, and you might even feel like a lot of your time spent is redundant or wasted. It's not. Producing quality software doesn't mean just being smart enough to write perfect code all the time, it means investing time into BEING redundant on purpose.