Skip to content

Conversation

@jonreid
Copy link
Contributor

@jonreid jonreid commented Jul 5, 2025

Includes concept

@codecop
Copy link
Member

codecop commented Jul 7, 2025

Thank you Jon. This looks good. Does Swift not support generating parameters by using functions?

@jonreid
Copy link
Contributor Author

jonreid commented Jul 7, 2025

I doubt it, but can you point me to a specific example in one of the other languages?

@codecop
Copy link
Member

codecop commented Jul 7, 2025

@jonreid
Copy link
Contributor Author

jonreid commented Jul 9, 2025

Thank you. The answer is no. I'm just glad that for the first time since I started writing tests for Apple tech, we have parameterized tests.

@codecop codecop merged commit 14870ec into sammancoaching:main Jul 9, 2025
@codecop
Copy link
Member

codecop commented Jul 9, 2025

Thank you

@pfichtner
Copy link
Contributor

@jonreid thanks for your contribution. Is it possible to add a workflow for Swift like for the other languages (see https://github.com/sammancoaching/CoffeeShop-TestDesign-Kata/tree/main/.github/workflows)?

@jonreid
Copy link
Contributor Author

jonreid commented Aug 10, 2025

@pfichtner How do the workflows pass since the starting point includes a failing test?

@pfichtner
Copy link
Contributor

@pfichtner How do the workflows pass since the starting point includes a failing test?

All of them check for a (or the) failing test

echo "Test did not fail as expected — this is a failure for this workflow."

! uv run pytest -k "test_order_cannot_be_updated_or_canceled_if_paid" --tb=short

! bun test --test-name-pattern="order cannot be updated or canceled if paid"

@jonreid
Copy link
Contributor Author

jonreid commented Aug 10, 2025

Thanks, see #6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants