Skip to content

adding copilot prompt for generating unit tests in new projects - #121

Open
amerk-sitecrafting wants to merge 1 commit into
update/phpunit-unit-testsfrom
update/copilot-prompt-for-generating-unit-tests
Open

adding copilot prompt for generating unit tests in new projects#121
amerk-sitecrafting wants to merge 1 commit into
update/phpunit-unit-testsfrom
update/copilot-prompt-for-generating-unit-tests

Conversation

@amerk-sitecrafting

Copy link
Copy Markdown
Contributor

Giving this a shot! I'm not 100% sure what is useful context to provide in a prompt file. I basically provided a more verbose version of the instructions I have given to Copilot in the past, and had Copilot generate the prompt for me.

I'm also not 100% sure what the best way to test this is. I asked Copilot to do a dry run of the tests, and it gave... questionable results. This could be because Groot (on the base of this branch) already has a suite of unit tests included.

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.

1 participant