Details
Joined devRant on 3/4/2018
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
Programming in a tree. I usually climb up here and read, but I decided to code, and I didn't drop my laptop :D
I covered the screen with my hand because my code's ugly, and I don't want anyone to see it lol.144 -
Hey there!
Just joined DevRant, it's fucking amazing!!!
Where was this all my life! I HAVE BEEN FUCKING WASTING TIME ON THOSE SHITTY SOCIAL MEDIA APPLICATIONS.10 -
A discussion about writing tests for frontend applications.
Context: my frontend coworkers don't write tests, at all. Yeah, really. Our testing process is very manual. We test manually when developing. We test manually when reviewing code. After merging, the application is deployed to a staging server and the design team does a QA Sprint. Lots of manual testing and some bugs still crawl by.
So I decided to start pushing my coworkers to start writing tests. One of the reasons I constantly hear them say to not write tests in the frontend is: "It's not worth the time, because design keeps changing, which means we have to take time to fix the tests. Time that we usually don't have."
I've been thinking about this a lot and it seems to me that this is more related to bad tests than to tests in general.
Tests should not break with design changes (small changes at least). They should test funcionality, not how things look. A form should not break if the submit button's style changes, so why should its tests fail? I also think that tests help save time, as they prevent some back and forth because of bugs.
Writing good tests is the hard part. Tests that cover what's really important and aren't frail and break with things that shouldn't break them. What (and how) should we test? And what shouldn't be tested?
Writing them fast is another hard thing. Are you doing it right if they take more time to write than the actual code?
What do you think about this? Do you write tests for your frontend applications? What do you test? How much time do you spend writing tests? What are your testing tools/frameworks?6 -
Another benefit of working from home: PRIVATE TOILET.
One fucking toilet for 15 people is not enough.12 -
Forms with autofocus. What are your opinions on that?
My boss keeps asking us to always give autofocus to the first input of a form, without any UX study to support it, just his opinion ("I think it makes sense"). I fucking hate it. He says it's nice for keyboard users, but I'm a keyboard user myself and I say that's what the tab key is for. To fucking focus stuff.
It really annoys me to no end when things like this are requested, but it's ok to have buttons, checkboxes, etc without fucking :focus and :active styles. Just :hover is not enough ffs.
And "links" that work with "onclick". Damn how I want to kill anyone that does that.5 -
I hate wish! It's so annoying! Oh, my freaking God. I went as far as to download the app to complain about it. I see it everywhere! Whenever I'm watching a clip on YouTube, a movie , playing a game, and obviously on T. V. I can't take this anymore! I downloaded this app, but it just comes off as confusing, I don't know, maybe because it's my first time here; I don't like the fonts and sizes they chose but anyways...wish, Oh, my God! I just wish for it to go away and leave me alone. 😑😡10
-
Couple rants ago I talked about how it would be easier to just block people from the EU, apparently somebody made that idea into a hosted script! LOL
https://euroshield.xyz/60 -
Friend: Hey, I managed to build my own UI.
Me: That's great, which programming language did you use?
Friend: Filezilla.
Me: No, I mean the language. The language you code in to build your UI ?
Friend: Notepad ++
KILL ME.9 -
So I'm installing Ubuntu 18.04 iso (downloaded via Mobile Data) from an SD card through a USB adapter, (on an HDD)
What are you guys doing with your lives?7 -
Swear to god in going to pole drive the next person who asks if my watch is an Apple watch into the fucking ground...29