From 0e98dfb154688a84aa38ab4e52b58b819cfd0cf3 Mon Sep 17 00:00:00 2001 From: Zach Borboa Date: Sat, 24 Sep 2022 06:24:34 -0700 Subject: [PATCH] Move testing information to dedicated file --- README.md | 24 +++--------------------- TESTING.md | 23 +++++++++++++++++++++++ 2 files changed, 26 insertions(+), 21 deletions(-) create mode 100644 TESTING.md diff --git a/README.md b/README.md index dd99f02..ac23ad8 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ PHP Curl Class makes it easy to send HTTP requests and integrate with web APIs. - [Available Methods](#available-methods) - [Security](#security) - [Troubleshooting](#troubleshooting) -- [Run Tests](#run-tests) +- [Testing](#testing) - [Contribute](#contribute) --- @@ -373,27 +373,9 @@ See [SECURITY](https://github.com/php-curl-class/php-curl-class/blob/master/SECU See [TROUBLESHOOTING](https://github.com/php-curl-class/php-curl-class/blob/master/TROUBLESHOOTING.md) for troubleshooting. -### Run Tests +### Testing -To run tests: - - $ git clone https://github.com/php-curl-class/php-curl-class.git - $ cd php-curl-class/ - $ composer update - $ ./tests/run.sh - -To run select tests: - - $ git clone https://github.com/php-curl-class/php-curl-class.git - $ cd php-curl-class/ - $ composer update - $ ./tests/run.sh --filter=keyword - -To test all PHP versions in containers: - - $ git clone https://github.com/php-curl-class/php-curl-class.git - $ cd php-curl-class/ - $ ./tests/test_all.sh +See [TESTING](https://github.com/php-curl-class/php-curl-class/blob/master/TESTING.md) for testing information. ### Contribute diff --git a/TESTING.md b/TESTING.md new file mode 100644 index 0000000..e5ad465 --- /dev/null +++ b/TESTING.md @@ -0,0 +1,23 @@ +# Testing + +### Run Tests + +To run tests: + + $ git clone https://github.com/php-curl-class/php-curl-class.git + $ cd php-curl-class/ + $ composer update + $ ./tests/run.sh + +To run select tests: + + $ git clone https://github.com/php-curl-class/php-curl-class.git + $ cd php-curl-class/ + $ composer update + $ ./tests/run.sh --filter=keyword + +To test all PHP versions in containers: + + $ git clone https://github.com/php-curl-class/php-curl-class.git + $ cd php-curl-class/ + $ ./tests/test_all.sh