Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on lemmy.dbzer0.com

29 replies

wuffah
lemmy.world

Cucumbers, carrots, squash, eggplants, bananas… I’ve got long and in-depth experience with them all. :)

33

Cucumba, cucumba.
Vitamins, minerals very high number.
Silica, hair and nails get longer.
Other vitamins make your bones dem stronger.

Anti-wrinkle make you look younger.
95 percent water, kidney cleanser, great hydrator.
Detox, fibre, good regulator.
Give your body good things, don't be a traitor.

Get the cucumber, cut it inna slice.
Put it inna jug of water overnight.
You know what you get for a fraction of the price?
Energy drink full of electrolytes.

Raw inna salad is one of the use.
Or as a base for your vegetable juice.
Another surprise, put a slice on your eyes.
Take away the dryness, revitalise.

Oh, yes, one thing I have left.
Cucumber can also help with bad breath.
Wash away the bacteria that cause the odour.
Cucumber water instead of soda.

20
Scenario: Indeed becomes personal
  Given Indeed has started asking about my personal life
  When an intimate signal is received
  Then tell Indeed how to use the cucumber
21
medem
lemmy.wtf

Given that one of the most popular Scheme implementations is Chicken Scheme (Chicken for short), there is a non-zero chance of actual job offerings asking for 'experience in Chicken'.

8

Scenario: Meme

Given Cucumber is real.

When Talking about behavioral driven developement using Gerkin Syntax.

Then you will realize there ia a non-zero chance of actual job offerings asking for experience in cucumber.

sidenote: the c# equivalent is called ReqnRoll, so jobs might also ask you if you have any experience with Rock'n Roll.

2
funkless_eckreply
sh.itjust.works

I was expecting it to be a language. It looks like Cucumber is actually a kind of IDE and the language is Gherkin .

Feature: Guess the word
/# The first example has two steps 
Scenario: Maker starts a game 
When the Maker starts a game 
Then the Maker waits for a Breaker to join 
/# The second example has three steps 
Scenario: Breaker joins a game 
Given the Maker has started a game with the word "silky" 
When the Breaker joins the Maker's game 
Then the Breaker must guess a word with 5 characters
4
jtrekreply
startrek.website

I kind of intensely dislike that whole... natural language wrapper thing. It adds at least one whole extra layer to maintain for no real benefit. No one non technical is going to read it. If they were some magic competent person, they could just read regular doc strings.

8
9point6reply
lemmy.world

That was always the fake dream that was sold, about 15 years ago there were a lot of people writing cukes

I never saw a single business analyst or product owner ever open even one of those text files that ostensibly primarily only existed for their benefit.

The closest we got was copy and pasting the user story from the ticket and hammering it into the shape of the existing regexes

Then we all woke up from the fever dream about 10 years ago and I've basically not seen one since.

Tbh with this AI bubble it's only a matter of time before someone tries it again

3
jtrekreply
startrek.website

I had an interview a few weeks ago (one of like 3 this year) where it was revealed they still write these.

They asked how we kept all the stuff organized at my last job. All the cucumber stuff. I said we just kept the tests next to the file they're testing- foo.py has a sibling test_foo.py- and we didn't find much value in adding extra layers. If you want to test the API returns 403 when you request another user's file, you can just write like


def test_403_when_requesting_other_user_file() -> None:
  response = requests.get("whatever/etc")
  assert response.status_code == 403

You can be pretty to the point.

We used docstrings to explain non-obvious things. Swagger shows the API docs in a nice webpage for anyone curious and authorized.

He wasn't impressed and I didn't make it to the next round.

3

He wasn't impressed and I didn't make it to the next round.

Poor Stockholm syndrome afflicted fool

Breaks my heart to know people are still suffering this particular hell

3

Yep. It sucks, and it's just another BS layer on the onion to punch through.

2

LOL I actually have experience using this to write integration tests.

2

I have experience eating them, does that count? I’ve been known to swallow a cucumber from time to time. Not my favorite activity but it tickles the back of my throat a few times a week.

3

You reached the end