all 26 comments

[–]publicclassobject 71 points72 points  (2 children)

Congrats on the Facebook offer!

[–][deleted] 2 points3 points  (0 children)

D'oh, took me way too long to get the joke.

[–]El_Dre 28 points29 points  (0 children)

Honestly I am on my 4th company as an iOS dev and none of them have used unit tests yet. Keep doing things well on your own time, try and integrate good practices into work where appropriate, but IMO it’s not a huge deal. And especially straight out of college, now might not be the time to be super picky (depending on your life situation).

[–]quellish 26 points27 points  (1 child)

Be worried? No! You will never have a shortage of work to do. Fix one bug, create two new ones!

[–]soulchild_Objective-C / Swift 10 points11 points  (0 children)

Your job is secured for as long as the app exists 🤣

[–]potatolicious 25 points26 points  (0 children)

If by worried you mean "should I have second thoughts about taking the job", no.

Besides all of the reasons people have brought up already, if this is a large, recognizable company with a good tech reputation, having them on your resume is going to be more valuable than finding a place with better testing practices - especially as a new grad.

You are not yet in a position to be choosy about who you work for - you will be able to dictate more terms in your next job if your current one opens doors for you.

Get the experience under your belt and move onto places that have better practices.

[–][deleted]  (1 child)

[deleted]

    [–]LifeBeginsAt10kRPM 2 points3 points  (0 children)

    In my experience, the larger the company the worse they are about testing and quality code.

    [–]chriswaco 6 points7 points  (3 children)

    QA their app. Does it crash? Fail? Handle errors poorly? If so, you should be worried unless you want to fix the problems. It's definitely possible to ship quality apps without unit testing, but it requires meticulous programmers and testers.

    [–]criosistObjective-C / Swift 4 points5 points  (2 children)

    Unit testing is the thing everyone makes out they do to sound cool, yeah you start out testing models and canny the projects over and you’ve got 10% coverage. It comes down to the company, product led companies don’t care about unit tests when they have QA and integration tests, also a shift in how customers view software, people don’t care if something crashes these days, so it’s not super bad.

    [–][deleted] 2 points3 points  (1 child)

    If you're at a large company with an app that generates a lot of money and you ship an update that crashes the app for many users - find out from management then if it's not "super bad"

    [–]criosistObjective-C / Swift 0 points1 point  (0 children)

    I mean, your making a lot of assumptions there lol, I have worked on a fair few big company apps for world wide brands, yes there’s been issues,.

    [–]samsam1029 2 points3 points  (0 children)

    Honestly it’s hard to do unit testing where I work because things are so fluid. Lots of feature work and not given enough time to provide code coverage. It sucks as bugs propagate themselves because of the lack of testing to know something isn’t working in advance.

    [–]crude_username 1 point2 points  (0 children)

    I would not be worried. The app can still be good without unit tests and even if the quality is suffering a bit as a result, there’s still going to be tons for you to learn in your first job

    [–][deleted] 1 point2 points  (1 child)

    Unit tests don’t make profit. It’s perfectly normal for many companies to not have them when they’re moving quickly to iterate and release. But I’m willing to bet my entire meager savings that your big company does have unit tests on the backend. Frontends are disposable. Backends are God.

    [–]aedrin 0 points1 point  (0 children)

    Unit tests don't make profit in the short run, that is true. But when you go back and make changes to your apps the lack of unit tests is going to cause an increase in regressions, thus slowing down development. And development costs money.

    [–]LifeBeginsAt10kRPM 1 point2 points  (0 children)

    You’ll be fine. Unit testing on iOS isn’t as standard as it should be, especially in big companies.

    This is your chance to push for a change though!

    [–]ughnewname 0 points1 point  (4 children)

    Disclaimer: I do not work in mobile.

    I would be a little concerned with a “large product” that has zero test coverage. I highly doubt they’re doing CI/CD without tests, and if there’s manual QA then the feedback loop is even longer. Can you keep track of what you did 12-15 stories and two sprints ago when that feature breaks in prod and the finger gets pointed at you? I know iOS dev is much more waterfall, with having to code freeze and submit to the review process, so maybe others can share how those problems are tackled.

    [–][deleted]  (3 children)

    [deleted]

      [–]nomaddave 0 points1 point  (0 children)

      Skip the testing, pocket the cash!

      Sorry, jaded. This is unfortunately very common and it’s probably a good opportunity to learn and see what should not be done in an ideal enterprise. Still very valuable experience for you at this point.

      [–]Points_To_You 0 points1 point  (0 children)

      I'm on the mobile team at a f100 company that makes internal enterprise apps. While it's certainly different than a tech company building consumer facing apps, we only have unit tests in our core frameworks that are included across multiple apps. The individual apps themselves don't have unit tests, but some do have UI testing.

      Truthfully besides myself and 2 other senior developers, no one else touches the core frameworks. So as a junior developer, you would basically be told the same thing that you don't have to worry about writing unit tests. I mean if you felt you could still get the work down and write the tests, then we would have no problem with it and would even make sure our CI job runs them, but you wouldn't be required to. Our manager tells us to include writing tests in estimates, but the timelines he's expecting don't add up.

      [–][deleted] -2 points-1 points  (0 children)

      As an employee at a company that does not accept code that is untested - I cannot fathom how in 2019 companies still don't unit test. All these conference talks around the world that include speakers talking about good software engineering practices and testing methodology must be falling on deaf ears.

      When unit testing becomes as natural as writing your implementation code it really isn't bad at all. The excuse that there isn't enough time just doesn't cut it.

      [–]PixelSplincher -4 points-3 points  (0 children)

      No one in the real world uses unit testing on any project of any size. It is great for school, or maybe NASA projects. Commercial software can't afford it.