Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add #[WithStory] attribute #430

Closed
nikophil opened this issue Mar 13, 2023 · 0 comments · Fixed by #728
Closed

Add #[WithStory] attribute #430

nikophil opened this issue Mar 13, 2023 · 0 comments · Fixed by #728
Labels
enhancement New feature or request

Comments

@nikophil
Copy link
Member

nikophil commented Mar 13, 2023

#[WithStory(MyStory::class)] // will be called for the test case
public function testSomething(): void

#[WithStory(MyStory::class)] // will be called once for the test class
class SomeTest extends TestCase {}
@nikophil nikophil added the enhancement New feature or request label Mar 13, 2023
@nikophil nikophil changed the title Add #[Story] and #[Factory] attributes Add #[WithStory] attribute Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging a pull request may close this issue.

1 participant