woocommerce/plugins/woocommerce-admin/bin/test-instruction-logger
Moon 03fb7e87a6 Add/7481 cmd to collect testing instructions (https://github.com/woocommerce/woocommerce-admin/pull/7499)
* Add a new command to build testing instructions by a given version

* Check - [ ] Include test instructions in the release checkbox

* Fix code format

* Code cleanup

* Fix config error

* Update README.md

* Update README.md

* Update README.md

* Remove js version

* Remove test file

* A minor refactor

* Reuse parse() method from the WCAdminFormatter.php

* Exclude PRs with "no release testing instructions" label

* Remove Requests:multi_request dependency

* Remove wp load script
2021-08-27 13:47:16 -07:00
..
bin Add/7481 cmd to collect testing instructions (https://github.com/woocommerce/woocommerce-admin/pull/7499) 2021-08-27 13:47:16 -07:00
Application.php Add/7481 cmd to collect testing instructions (https://github.com/woocommerce/woocommerce-admin/pull/7499) 2021-08-27 13:47:16 -07:00
Config.php Add/7481 cmd to collect testing instructions (https://github.com/woocommerce/woocommerce-admin/pull/7499) 2021-08-27 13:47:16 -07:00
README.md Add/7481 cmd to collect testing instructions (https://github.com/woocommerce/woocommerce-admin/pull/7499) 2021-08-27 13:47:16 -07:00
SetGithubCredentialsCommand.php Add/7481 cmd to collect testing instructions (https://github.com/woocommerce/woocommerce-admin/pull/7499) 2021-08-27 13:47:16 -07:00
WriteCommand.php Add/7481 cmd to collect testing instructions (https://github.com/woocommerce/woocommerce-admin/pull/7499) 2021-08-27 13:47:16 -07:00

README.md

Test Instruction Logger

Test Instruction Logger retrives test instructions from the PRs in the changelog.txt and write them into TESTING-INSTRUCTION.md.

Prerequisites

Test Instruction Logger requires Github username and a personal access token to use the Github REST API.

  1. Follow this guide to create a new personal access token.
  2. Run npm run test-instruction-logger github-credentials. Enter your Github username and the perosnal access token. The data will be saved in $HOME/.wca-test-instruction-logger.json

Writing to TESTING-INSTRUCTION.md

  1. Update the changelog.txt
  2. Run npm run test-instruction-logger :version.
  3. Verify TESTING-INSTRUCTION.md.