From 68b6ce96a65815ce80a8273d1228cbbc28ff3443 Mon Sep 17 00:00:00 2001 From: Zach Borboa Date: Wed, 7 Dec 2022 16:01:25 -0800 Subject: [PATCH] Make test commands work well with copy to clipboard action --- TESTING.md | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/TESTING.md b/TESTING.md index e5ad465..85001f1 100644 --- a/TESTING.md +++ b/TESTING.md @@ -4,20 +4,26 @@ To run tests: - $ git clone https://github.com/php-curl-class/php-curl-class.git - $ cd php-curl-class/ - $ composer update - $ ./tests/run.sh +```bash +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 +```bash +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 +```bash +git clone https://github.com/php-curl-class/php-curl-class.git +cd php-curl-class/ +./tests/test_all.sh +```