• frezik@midwest.social
      link
      fedilink
      arrow-up
      41
      ·
      4 months ago

      For about the first five years of its life, it was eclipsed by Perl. That’s about it. I don’t think anything will ever unseat Python as too many people’s first and last language.

    • EnderMB@lemmy.world
      link
      fedilink
      arrow-up
      40
      ·
      4 months ago

      Perhaps as the new hotness to web devs, but Python was a mainstay in science way before Django.

      • smeg@feddit.uk
        cake
        link
        fedilink
        English
        arrow-up
        3
        arrow-down
        1
        ·
        4 months ago

        Depends entirely what tests you’re automating. Java codebase? Probably Java tests too. Anything web? Tests will be JS too, etc.

        • Omgpwnies@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          4 months ago

          Web testing is also done in python. Selenium has support in all major Python test frameworks. I’ve done SE-only tests in Robot, hybrid SE/Python using BDD with Behave, etc.

          Unless I’m testing a language-specific API, I’m probably going to use Python…

          • smeg@feddit.uk
            cake
            link
            fedilink
            English
            arrow-up
            3
            ·
            4 months ago

            I’m guessing that’s because you’re a python developer though. If you’re a frontend developer who knows JS then why wouldn’t you use that for your tests? (Apart from the fact that JS is horrible, but you’ve already accepted that suffering by becoming a web dev)

            • Omgpwnies@lemmy.world
              link
              fedilink
              English
              arrow-up
              3
              ·
              4 months ago

              I’m a test automation developer, I’m not necessarily bound by the platform that the application is written in unless I’m writing white-box tests.

      • zalgotext@sh.itjust.works
        link
        fedilink
        arrow-up
        16
        ·
        4 months ago

        Nah, Python 2.7 got way more support than it ever deserved because people just refused to switch to 3. Hell, people were starting new python projects on 2 after 3 came out.