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

#4 - Add console testing tools #31

Merged
merged 14 commits into from
Jul 1, 2024
Merged

Conversation

JakubKermes
Copy link
Contributor

@JakubKermes JakubKermes commented Jun 5, 2024

Added basic tools for testing artisan and shell commands to be extended in the future.
It would be nice to support prompts for more information in conversation like style:

@console
    Feature: Console conversation test
        Scenario: Test Artisan command
            Given I run artisan command "make:model" with argument "TestModel"
            Then I am asked "Would you like any of the following?"
            And I select "Factory"

@JakubKermes JakubKermes linked an issue Jun 5, 2024 that may be closed by this pull request
@JakubKermes JakubKermes marked this pull request as ready for review June 5, 2024 11:02
src/Features/Traits/Console.php Outdated Show resolved Hide resolved
src/Features/Traits/Console.php Outdated Show resolved Hide resolved
src/Features/Traits/Console.php Outdated Show resolved Hide resolved
@krzysztofrewak
Copy link
Member

@JakubKermes, could you merge current main into the branch before my second review? It looks like some files are outdated.

src/Features/Traits/Console.php Outdated Show resolved Hide resolved
src/Features/Traits/Console.php Outdated Show resolved Hide resolved
src/Features/Traits/Console.php Outdated Show resolved Hide resolved
src/Features/Traits/Console.php Outdated Show resolved Hide resolved
src/Features/Traits/Console.php Outdated Show resolved Hide resolved
src/Features/Traits/Console.php Outdated Show resolved Hide resolved
@JakubKermes JakubKermes merged commit e8888a4 into main Jul 1, 2024
2 checks passed
@JakubKermes JakubKermes deleted the #4-add-console-testing-tools branch July 1, 2024 11:45
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.

Add console testing tools
2 participants