▲ 927 ▼ Every language has its niche (lemmy.world) submitted 2 years ago by nifty@lemmy.world to c/programmer_humor@programming.dev 164 comments fedilink hide all child comments
[–] Omgpwnies@lemmy.world 6 points 2 years ago (15 children) Python is the language of choice for most test automation permalink fedilink source parent hideshow 15 child comments replies: [–] SpaceNoodle@lemmy.world 6 points 2 years ago (10 children) If I can't do it as a Bash one-liner, I'm using Python permalink fedilink source parent hideshow 10 child comments replies: [–] Omgpwnies@lemmy.world 3 points 2 years ago* (1 child) subprocess.Popen(["bash one-liner"], stdout=PIPE, stderr-PIPE, text=True) permalink fedilink source parent hideshow 1 child comment replies: [–] SpaceNoodle@lemmy.world 4 points 2 years ago* ["bash", "one-liner"] permalink fedilink source parent [–] fluxion@lemmy.world 1 point 2 years ago (6 children) I use perl, but everyone hates me and would rather rewrite my little scripts in python than bother changing a single line permalink fedilink source parent hideshow 6 child comments replies: [–] SpaceNoodle@lemmy.world 1 point 2 years ago (5 children) You're right, everyone hates you. permalink fedilink source parent hideshow 5 child comments replies: [–] fluxion@lemmy.world 1 point 2 years ago (4 children) 😔 permalink fedilink source parent hideshow 4 child comments replies: [–] SpaceNoodle@lemmy.world 1 point 2 years ago (3 children) The good news is that you can stop using Perl at any time. permalink fedilink source parent hideshow 3 child comments replies: [–] fluxion@lemmy.world 1 point 2 years ago (2 children) For quick data parsing you'll have to pry it from my cold dead hands im afraid permalink fedilink source parent hideshow 2 child comments replies: [–] SpaceNoodle@lemmy.world 1 point 2 years ago (1 child) That could be arranged. I could bash you over the head with a python. permalink fedilink source parent hideshow 1 child comment replies: [–] fluxion@lemmy.world 2 points 2 years ago It's a kind offer, but my head is far too hard permalink fedilink source parent [–] Shareni@programming.dev 0 points 2 years ago Grug use go because it easier, faster, and compiles to share with friends of Grug permalink fedilink source parent [–] smeg@feddit.uk 2 points 2 years ago (3 children) Depends entirely what tests you're automating. Java codebase? Probably Java tests too. Anything web? Tests will be JS too, etc. permalink fedilink source parent hideshow 3 child comments replies: [–] Omgpwnies@lemmy.world 2 points 2 years ago (2 children) 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... permalink fedilink source parent hideshow 2 child comments replies: [–] smeg@feddit.uk 2 points 2 years ago (1 child) 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) permalink fedilink source parent hideshow 1 child comment replies: [–] Omgpwnies@lemmy.world 4 points 2 years 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. permalink fedilink source parent
[–] SpaceNoodle@lemmy.world 6 points 2 years ago (10 children) If I can't do it as a Bash one-liner, I'm using Python permalink fedilink source parent hideshow 10 child comments replies: [–] Omgpwnies@lemmy.world 3 points 2 years ago* (1 child) subprocess.Popen(["bash one-liner"], stdout=PIPE, stderr-PIPE, text=True) permalink fedilink source parent hideshow 1 child comment replies: [–] SpaceNoodle@lemmy.world 4 points 2 years ago* ["bash", "one-liner"] permalink fedilink source parent [–] fluxion@lemmy.world 1 point 2 years ago (6 children) I use perl, but everyone hates me and would rather rewrite my little scripts in python than bother changing a single line permalink fedilink source parent hideshow 6 child comments replies: [–] SpaceNoodle@lemmy.world 1 point 2 years ago (5 children) You're right, everyone hates you. permalink fedilink source parent hideshow 5 child comments replies: [–] fluxion@lemmy.world 1 point 2 years ago (4 children) 😔 permalink fedilink source parent hideshow 4 child comments replies: [–] SpaceNoodle@lemmy.world 1 point 2 years ago (3 children) The good news is that you can stop using Perl at any time. permalink fedilink source parent hideshow 3 child comments replies: [–] fluxion@lemmy.world 1 point 2 years ago (2 children) For quick data parsing you'll have to pry it from my cold dead hands im afraid permalink fedilink source parent hideshow 2 child comments replies: [–] SpaceNoodle@lemmy.world 1 point 2 years ago (1 child) That could be arranged. I could bash you over the head with a python. permalink fedilink source parent hideshow 1 child comment replies: [–] fluxion@lemmy.world 2 points 2 years ago It's a kind offer, but my head is far too hard permalink fedilink source parent [–] Shareni@programming.dev 0 points 2 years ago Grug use go because it easier, faster, and compiles to share with friends of Grug permalink fedilink source parent
[–] Omgpwnies@lemmy.world 3 points 2 years ago* (1 child) subprocess.Popen(["bash one-liner"], stdout=PIPE, stderr-PIPE, text=True) permalink fedilink source parent hideshow 1 child comment replies: [–] SpaceNoodle@lemmy.world 4 points 2 years ago* ["bash", "one-liner"] permalink fedilink source parent
[–] SpaceNoodle@lemmy.world 4 points 2 years ago* ["bash", "one-liner"] permalink fedilink source parent
[–] fluxion@lemmy.world 1 point 2 years ago (6 children) I use perl, but everyone hates me and would rather rewrite my little scripts in python than bother changing a single line permalink fedilink source parent hideshow 6 child comments replies: [–] SpaceNoodle@lemmy.world 1 point 2 years ago (5 children) You're right, everyone hates you. permalink fedilink source parent hideshow 5 child comments replies: [–] fluxion@lemmy.world 1 point 2 years ago (4 children) 😔 permalink fedilink source parent hideshow 4 child comments replies: [–] SpaceNoodle@lemmy.world 1 point 2 years ago (3 children) The good news is that you can stop using Perl at any time. permalink fedilink source parent hideshow 3 child comments replies: [–] fluxion@lemmy.world 1 point 2 years ago (2 children) For quick data parsing you'll have to pry it from my cold dead hands im afraid permalink fedilink source parent hideshow 2 child comments replies: [–] SpaceNoodle@lemmy.world 1 point 2 years ago (1 child) That could be arranged. I could bash you over the head with a python. permalink fedilink source parent hideshow 1 child comment replies: [–] fluxion@lemmy.world 2 points 2 years ago It's a kind offer, but my head is far too hard permalink fedilink source parent
[–] SpaceNoodle@lemmy.world 1 point 2 years ago (5 children) You're right, everyone hates you. permalink fedilink source parent hideshow 5 child comments replies: [–] fluxion@lemmy.world 1 point 2 years ago (4 children) 😔 permalink fedilink source parent hideshow 4 child comments replies: [–] SpaceNoodle@lemmy.world 1 point 2 years ago (3 children) The good news is that you can stop using Perl at any time. permalink fedilink source parent hideshow 3 child comments replies: [–] fluxion@lemmy.world 1 point 2 years ago (2 children) For quick data parsing you'll have to pry it from my cold dead hands im afraid permalink fedilink source parent hideshow 2 child comments replies: [–] SpaceNoodle@lemmy.world 1 point 2 years ago (1 child) That could be arranged. I could bash you over the head with a python. permalink fedilink source parent hideshow 1 child comment replies: [–] fluxion@lemmy.world 2 points 2 years ago It's a kind offer, but my head is far too hard permalink fedilink source parent
[–] fluxion@lemmy.world 1 point 2 years ago (4 children) 😔 permalink fedilink source parent hideshow 4 child comments replies: [–] SpaceNoodle@lemmy.world 1 point 2 years ago (3 children) The good news is that you can stop using Perl at any time. permalink fedilink source parent hideshow 3 child comments replies: [–] fluxion@lemmy.world 1 point 2 years ago (2 children) For quick data parsing you'll have to pry it from my cold dead hands im afraid permalink fedilink source parent hideshow 2 child comments replies: [–] SpaceNoodle@lemmy.world 1 point 2 years ago (1 child) That could be arranged. I could bash you over the head with a python. permalink fedilink source parent hideshow 1 child comment replies: [–] fluxion@lemmy.world 2 points 2 years ago It's a kind offer, but my head is far too hard permalink fedilink source parent
[–] SpaceNoodle@lemmy.world 1 point 2 years ago (3 children) The good news is that you can stop using Perl at any time. permalink fedilink source parent hideshow 3 child comments replies: [–] fluxion@lemmy.world 1 point 2 years ago (2 children) For quick data parsing you'll have to pry it from my cold dead hands im afraid permalink fedilink source parent hideshow 2 child comments replies: [–] SpaceNoodle@lemmy.world 1 point 2 years ago (1 child) That could be arranged. I could bash you over the head with a python. permalink fedilink source parent hideshow 1 child comment replies: [–] fluxion@lemmy.world 2 points 2 years ago It's a kind offer, but my head is far too hard permalink fedilink source parent
[–] fluxion@lemmy.world 1 point 2 years ago (2 children) For quick data parsing you'll have to pry it from my cold dead hands im afraid permalink fedilink source parent hideshow 2 child comments replies: [–] SpaceNoodle@lemmy.world 1 point 2 years ago (1 child) That could be arranged. I could bash you over the head with a python. permalink fedilink source parent hideshow 1 child comment replies: [–] fluxion@lemmy.world 2 points 2 years ago It's a kind offer, but my head is far too hard permalink fedilink source parent
[–] SpaceNoodle@lemmy.world 1 point 2 years ago (1 child) That could be arranged. I could bash you over the head with a python. permalink fedilink source parent hideshow 1 child comment replies: [–] fluxion@lemmy.world 2 points 2 years ago It's a kind offer, but my head is far too hard permalink fedilink source parent
[–] fluxion@lemmy.world 2 points 2 years ago It's a kind offer, but my head is far too hard permalink fedilink source parent
[–] Shareni@programming.dev 0 points 2 years ago Grug use go because it easier, faster, and compiles to share with friends of Grug permalink fedilink source parent
[–] smeg@feddit.uk 2 points 2 years ago (3 children) Depends entirely what tests you're automating. Java codebase? Probably Java tests too. Anything web? Tests will be JS too, etc. permalink fedilink source parent hideshow 3 child comments replies: [–] Omgpwnies@lemmy.world 2 points 2 years ago (2 children) 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... permalink fedilink source parent hideshow 2 child comments replies: [–] smeg@feddit.uk 2 points 2 years ago (1 child) 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) permalink fedilink source parent hideshow 1 child comment replies: [–] Omgpwnies@lemmy.world 4 points 2 years 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. permalink fedilink source parent
[–] Omgpwnies@lemmy.world 2 points 2 years ago (2 children) 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... permalink fedilink source parent hideshow 2 child comments replies: [–] smeg@feddit.uk 2 points 2 years ago (1 child) 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) permalink fedilink source parent hideshow 1 child comment replies: [–] Omgpwnies@lemmy.world 4 points 2 years 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. permalink fedilink source parent
[–] smeg@feddit.uk 2 points 2 years ago (1 child) 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) permalink fedilink source parent hideshow 1 child comment replies: [–] Omgpwnies@lemmy.world 4 points 2 years 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. permalink fedilink source parent
[–] Omgpwnies@lemmy.world 4 points 2 years 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. permalink fedilink source parent