Commit graph

21 commits

Author SHA1 Message Date
William Martin
366aea95eb Note token redaction in Acceptance test README 2024-10-24 18:35:30 +02:00
Andy Feller
acf62dacf2 Address @williammartin PR feedback 2024-10-21 11:53:05 -04:00
Andy Feller
f4f161c096 Refactor gh secret testscript
This is a bit of a refactor based on the work done in `gh workflow` as a better approach to verify secrets created are what we expect.

Changes made:

1. Removed `env2lower` as it wasn't being used in testscripts
2. Added `replace` custom command to deal with testing organization workflow secrets
3. Refactored secret testscripts to create and run workflow that tests the value of the secret provided
4. Minor reordering of test `acceptance` test functions as appending to the end is confusing and adds conflicts
5. Removed stdout TTY assertions
2024-10-18 15:56:03 -04:00
Andy Feller
e91052dd9b Fix typo in custom command doc 2024-10-17 10:59:54 -04:00
Andy Feller
7c534e6010 Refactor env2upper, env2lower; add docs
This commit refactors 2 new custom commands to work more like the native env command, allowing for multiple environment variables to be set.

Additionally, the documentation on acceptance tests have been expanded to list out custom commands.
2024-10-17 10:49:17 -04:00
William Martin
5ad4a385bb Support GH_ACCEPTANCE_SCRIPT 2024-10-14 20:44:07 +02:00
William Martin
f7b279db11 Correct testscript description in Acceptance readme 2024-10-14 14:35:35 +02:00
William Martin
b095d6bd58
Add link to testscript pkg documentation
Co-authored-by: Andy Feller <andyfeller@github.com>
2024-10-14 14:33:49 +02:00
William Martin
f3589b2573
Add VSCode extension links to Acceptance README
Co-authored-by: Andy Feller <andyfeller@github.com>
2024-10-14 14:33:17 +02:00
William Martin
c2c88b293e Fix GH_HOST / GH_ACCEPTANCE_HOST misuse 2024-10-14 14:32:05 +02:00
William Martin
bfa5b6afa5 Support skipping Acceptance test cleanup 2024-10-14 13:59:55 +02:00
William Martin
fbc72fd2be Suggest using legacy PAT for acceptance tests 2024-10-14 13:01:13 +02:00
William Martin
503659f11c Add host recommendation to Acceptance test docs 2024-10-14 12:56:27 +02:00
William Martin
846a39d7be Add go to test instructions in Acceptance README 2024-10-11 17:57:08 +02:00
William Martin
f9b24990d6 Add codecoverage to Acceptance README 2024-10-11 16:31:23 +02:00
William Martin
9d569b3c11 Isolate acceptance env vars 2024-10-11 16:31:23 +02:00
William Martin
dc7c66c142 Add Writing Tests section to Acceptance README 2024-10-11 16:31:22 +02:00
William Martin
64f5b3c206 Add Debug and Authoring sections to Acceptance README 2024-10-11 16:31:22 +02:00
William Martin
320c5aba4a Note syntax highlighting support for txtar files 2024-10-11 16:31:22 +02:00
William Martin
502daff2a1 Refactor acceptance test environment handling 2024-10-11 16:31:22 +02:00
William Martin
5745eb1c1c Add initial acceptance test README 2024-10-11 16:31:22 +02:00