Skip to content

Commit 0e98dfb

Browse files
committed
Move testing information to dedicated file
1 parent ba1a864 commit 0e98dfb

File tree

2 files changed

+26
-21
lines changed

2 files changed

+26
-21
lines changed

README.md

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ PHP Curl Class makes it easy to send HTTP requests and integrate with web APIs.
1818
- [Available Methods](#available-methods)
1919
- [Security](#security)
2020
- [Troubleshooting](#troubleshooting)
21-
- [Run Tests](#run-tests)
21+
- [Testing](#testing)
2222
- [Contribute](#contribute)
2323

2424
---
@@ -373,27 +373,9 @@ See [SECURITY](https://github.com/php-curl-class/php-curl-class/blob/master/SECU
373373

374374
See [TROUBLESHOOTING](https://github.com/php-curl-class/php-curl-class/blob/master/TROUBLESHOOTING.md) for troubleshooting.
375375

376-
### Run Tests
376+
### Testing
377377

378-
To run tests:
379-
380-
$ git clone https://github.com/php-curl-class/php-curl-class.git
381-
$ cd php-curl-class/
382-
$ composer update
383-
$ ./tests/run.sh
384-
385-
To run select tests:
386-
387-
$ git clone https://github.com/php-curl-class/php-curl-class.git
388-
$ cd php-curl-class/
389-
$ composer update
390-
$ ./tests/run.sh --filter=keyword
391-
392-
To test all PHP versions in containers:
393-
394-
$ git clone https://github.com/php-curl-class/php-curl-class.git
395-
$ cd php-curl-class/
396-
$ ./tests/test_all.sh
378+
See [TESTING](https://github.com/php-curl-class/php-curl-class/blob/master/TESTING.md) for testing information.
397379

398380
### Contribute
399381

TESTING.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Testing
2+
3+
### Run Tests
4+
5+
To run tests:
6+
7+
$ git clone https://github.com/php-curl-class/php-curl-class.git
8+
$ cd php-curl-class/
9+
$ composer update
10+
$ ./tests/run.sh
11+
12+
To run select tests:
13+
14+
$ git clone https://github.com/php-curl-class/php-curl-class.git
15+
$ cd php-curl-class/
16+
$ composer update
17+
$ ./tests/run.sh --filter=keyword
18+
19+
To test all PHP versions in containers:
20+
21+
$ git clone https://github.com/php-curl-class/php-curl-class.git
22+
$ cd php-curl-class/
23+
$ ./tests/test_all.sh

0 commit comments

Comments
 (0)