Elixir Mix cover image

Run Specific Test Cases using ExUnit with Kevin Mathew - EMx 221

Elixir Mix

CHAPTER

How to Minimize Code Smells

I think readable might be the biggest concern, right? So if you're adding like tags to your issue element, so it's easier to read by Cypress or whatever you're doing. And that's decreasing the readable of the other code, then it's a code smell. But if you do it in a way where in different tests environment, that component adds the test attribute, but not in non-test environment, I think you can minimize this kind of thing. There's ways to make it, you know, not code smelly, but it is definitely pushing the boundaries a little bit.

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner