Skip to content

Commit 17b5c3f

Browse files
committed
docs: remove spaces at the end of the lines
1 parent caf48b3 commit 17b5c3f

3 files changed

Lines changed: 62 additions & 62 deletions

File tree

admin/module/tests/README.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Running Module Tests
22

3-
This is the quick-start to CodeIgniter testing. Its intent is to describe what
4-
it takes to set up your module and get it ready to run unit tests.
5-
It is not intended to be a full description of the test features that you can
3+
This is the quick-start to CodeIgniter testing. Its intent is to describe what
4+
it takes to set up your module and get it ready to run unit tests.
5+
It is not intended to be a full description of the test features that you can
66
use to test your module. Those details can be found in the documentation.
77

88
## Resources
@@ -11,9 +11,9 @@ use to test your module. Those details can be found in the documentation.
1111

1212
## Requirements
1313

14-
It is recommended to use the latest version of PHPUnit. At the time of this
15-
writing we are running version 8.5.13. Support for this has been built into the
16-
**composer.json** file that ships with CodeIgniter and can easily be installed
14+
It is recommended to use the latest version of PHPUnit. At the time of this
15+
writing we are running version 8.5.13. Support for this has been built into the
16+
**composer.json** file that ships with CodeIgniter and can easily be installed
1717
via [Composer](https://getcomposer.org/) if you don't already have it installed globally.
1818

1919
> composer install
@@ -27,10 +27,10 @@ for code coverage to be calculated successfully.
2727

2828
## Setting Up
2929

30-
A number of the tests use a running database.
31-
In order to set up the database edit the details for the `tests` group in
30+
A number of the tests use a running database.
31+
In order to set up the database edit the details for the `tests` group in
3232
**phpunit.xml**. Make sure that you provide a database engine that is currently running
33-
on your machine. More details on a test database setup are in the
33+
on your machine. More details on a test database setup are in the
3434
*Docs>>Testing>>Testing Your Database* section of the documentation.
3535

3636
## Running the tests
@@ -39,24 +39,24 @@ The entire test suite can be run by simply typing one command-line command from
3939

4040
> ./phpunit
4141

42-
You can limit tests to those within a single test directory by specifying the
43-
directory name after phpunit.
42+
You can limit tests to those within a single test directory by specifying the
43+
directory name after phpunit.
4444

4545
> ./phpunit app/Models
4646

4747
## Generating Code Coverage
4848

49-
To generate coverage information, including HTML reports you can view in your browser,
50-
you can use the following command:
49+
To generate coverage information, including HTML reports you can view in your browser,
50+
you can use the following command:
5151

5252
> ./phpunit --colors --coverage-text=tests/coverage.txt --coverage-html=tests/coverage/ -d memory_limit=1024m
5353

54-
This runs all of the tests again collecting information about how many lines,
55-
functions, and files are tested. It also reports the percentage of the code that is covered by tests.
56-
It is collected in two formats: a simple text file that provides an overview as well
57-
as a comprehensive collection of HTML files that show the status of every line of code in the project.
54+
This runs all of the tests again collecting information about how many lines,
55+
functions, and files are tested. It also reports the percentage of the code that is covered by tests.
56+
It is collected in two formats: a simple text file that provides an overview as well
57+
as a comprehensive collection of HTML files that show the status of every line of code in the project.
5858

59-
The text file can be found at **tests/coverage.txt**.
59+
The text file can be found at **tests/coverage.txt**.
6060
The HTML files can be viewed by opening **tests/coverage/index.html** in your favorite browser.
6161

6262
## PHPUnit XML Configuration
@@ -67,7 +67,7 @@ do not have your own configuration file in the project root.
6767

6868
The normal practice would be to copy ``phpunit.xml.dist`` to ``phpunit.xml``
6969
(which is git ignored), and to tailor it as you see fit.
70-
For instance, you might wish to exclude database tests, or automatically generate
70+
For instance, you might wish to exclude database tests, or automatically generate
7171
HTML code coverage reports.
7272

7373
## Test Cases

admin/starter/tests/README.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Running Application Tests
22

3-
This is the quick-start to CodeIgniter testing. Its intent is to describe what
4-
it takes to set up your application and get it ready to run unit tests.
5-
It is not intended to be a full description of the test features that you can
3+
This is the quick-start to CodeIgniter testing. Its intent is to describe what
4+
it takes to set up your application and get it ready to run unit tests.
5+
It is not intended to be a full description of the test features that you can
66
use to test your application. Those details can be found in the documentation.
77

88
## Resources
@@ -12,9 +12,9 @@ use to test your application. Those details can be found in the documentation.
1212

1313
## Requirements
1414

15-
It is recommended to use the latest version of PHPUnit. At the time of this
16-
writing we are running version 9.x. Support for this has been built into the
17-
**composer.json** file that ships with CodeIgniter and can easily be installed
15+
It is recommended to use the latest version of PHPUnit. At the time of this
16+
writing we are running version 9.x. Support for this has been built into the
17+
**composer.json** file that ships with CodeIgniter and can easily be installed
1818
via [Composer](https://getcomposer.org/) if you don't already have it installed globally.
1919

2020
> composer install
@@ -28,14 +28,14 @@ for code coverage to be calculated successfully.
2828

2929
## Setting Up
3030

31-
A number of the tests use a running database.
32-
In order to set up the database edit the details for the `tests` group in
33-
**app/Config/Database.php** or **phpunit.xml**. Make sure that you provide a database engine
31+
A number of the tests use a running database.
32+
In order to set up the database edit the details for the `tests` group in
33+
**app/Config/Database.php** or **phpunit.xml**. Make sure that you provide a database engine
3434
that is currently running on your machine. More details on a test database setup are in the
3535
[Testing Your Database](https://codeigniter4.github.io/userguide/testing/database.html) section of the documentation.
3636

37-
If you want to run the tests without using live database you can
38-
exclude @DatabaseLive group. Or make a copy of **phpunit.dist.xml** -
37+
If you want to run the tests without using live database you can
38+
exclude @DatabaseLive group. Or make a copy of **phpunit.dist.xml** -
3939
call it **phpunit.xml** - and comment out the <testsuite> named "database". This will make
4040
the tests run quite a bit faster.
4141

@@ -49,24 +49,24 @@ If you are using Windows, use the following command.
4949

5050
> vendor\bin\phpunit
5151

52-
You can limit tests to those within a single test directory by specifying the
53-
directory name after phpunit.
52+
You can limit tests to those within a single test directory by specifying the
53+
directory name after phpunit.
5454

5555
> ./phpunit app/Models
5656

5757
## Generating Code Coverage
5858

59-
To generate coverage information, including HTML reports you can view in your browser,
60-
you can use the following command:
59+
To generate coverage information, including HTML reports you can view in your browser,
60+
you can use the following command:
6161

6262
> ./phpunit --colors --coverage-text=tests/coverage.txt --coverage-html=tests/coverage/ -d memory_limit=1024m
6363

64-
This runs all of the tests again collecting information about how many lines,
65-
functions, and files are tested. It also reports the percentage of the code that is covered by tests.
66-
It is collected in two formats: a simple text file that provides an overview as well
67-
as a comprehensive collection of HTML files that show the status of every line of code in the project.
64+
This runs all of the tests again collecting information about how many lines,
65+
functions, and files are tested. It also reports the percentage of the code that is covered by tests.
66+
It is collected in two formats: a simple text file that provides an overview as well
67+
as a comprehensive collection of HTML files that show the status of every line of code in the project.
6868

69-
The text file can be found at **tests/coverage.txt**.
69+
The text file can be found at **tests/coverage.txt**.
7070
The HTML files can be viewed by opening **tests/coverage/index.html** in your favorite browser.
7171

7272
## PHPUnit XML Configuration
@@ -77,7 +77,7 @@ do not have your own configuration file in the project root.
7777

7878
The normal practice would be to copy ``phpunit.xml.dist`` to ``phpunit.xml``
7979
(which is git ignored), and to tailor it as you see fit.
80-
For instance, you might wish to exclude database tests, or automatically generate
80+
For instance, you might wish to exclude database tests, or automatically generate
8181
HTML code coverage reports.
8282

8383
## Test Cases

tests/README.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
# Running System Tests
22

3-
This is the quick-start to CodeIgniter testing. Its intent is to describe what
4-
it takes to set up your system and get it ready to run unit tests.
5-
It is not intended to be a full description of the test features that you can
6-
use to test your application. Those details can be found in the documentation.
3+
This is the quick-start to CodeIgniter testing. Its intent is to describe what
4+
it takes to set up your system and get it ready to run unit tests.
5+
It is not intended to be a full description of the test features that you can
6+
use to test your application. Those details can be found in the documentation.
77

88
## Requirements
99

10-
It is recommended to use the latest version of PHPUnit. At the time of this
11-
writing we are running version 9.x. Support for this has been built into the
12-
**composer.json** file that ships with CodeIgniter and can easily be installed
10+
It is recommended to use the latest version of PHPUnit. At the time of this
11+
writing we are running version 9.x. Support for this has been built into the
12+
**composer.json** file that ships with CodeIgniter and can easily be installed
1313
via [Composer](https://getcomposer.org/) if you don't already have it installed globally.
1414

1515
> composer install
@@ -23,14 +23,14 @@ for code coverage to be calculated successfully. After installing `XDebug`, you
2323

2424
## Setting Up
2525

26-
A number of the tests use a running database.
27-
In order to set up the database edit the details for the `tests` group in
28-
**app/Config/Database.php** or **phpunit.xml**. Make sure that you provide a database engine
29-
that is currently running on your machine. More details on a test database setup are in the
26+
A number of the tests use a running database.
27+
In order to set up the database edit the details for the `tests` group in
28+
**app/Config/Database.php** or **phpunit.xml**. Make sure that you provide a database engine
29+
that is currently running on your machine. More details on a test database setup are in the
3030
[Testing Your Database](https://codeigniter4.github.io/CodeIgniter4/testing/database.html) section of the documentation.
3131

32-
If you want to run the tests without using live database you can
33-
exclude `@DatabaseLive` group. Or make a copy of **phpunit.dist.xml** -
32+
If you want to run the tests without using live database you can
33+
exclude `@DatabaseLive` group. Or make a copy of **phpunit.dist.xml** -
3434
call it **phpunit.xml** - and comment out the `<testsuite>` named `Database`. This will make
3535
the tests run quite a bit faster.
3636

@@ -44,7 +44,7 @@ If you are using Windows, use the following command.
4444

4545
> vendor\bin\phpunit
4646

47-
You can limit tests to those within a single test directory by specifying the
47+
You can limit tests to those within a single test directory by specifying the
4848
directory name after phpunit. All core tests are stored under **tests/system**.
4949

5050
> ./phpunit tests/system/HTTP/
@@ -59,17 +59,17 @@ You can run the tests without running the live database and the live cache tests
5959

6060
## Generating Code Coverage
6161

62-
To generate coverage information, including HTML reports you can view in your browser,
63-
you can use the following command:
62+
To generate coverage information, including HTML reports you can view in your browser,
63+
you can use the following command:
6464

6565
> ./phpunit --colors --coverage-text=tests/coverage.txt --coverage-html=tests/coverage/ -d memory_limit=1024m
6666

67-
This runs all of the tests again collecting information about how many lines,
68-
functions, and files are tested. It also reports the percentage of the code that is covered by tests.
69-
It is collected in two formats: a simple text file that provides an overview as well
70-
as a comprehensive collection of HTML files that show the status of every line of code in the project.
67+
This runs all of the tests again collecting information about how many lines,
68+
functions, and files are tested. It also reports the percentage of the code that is covered by tests.
69+
It is collected in two formats: a simple text file that provides an overview as well
70+
as a comprehensive collection of HTML files that show the status of every line of code in the project.
7171

72-
The text file can be found at **tests/coverage.txt**.
72+
The text file can be found at **tests/coverage.txt**.
7373
The HTML files can be viewed by opening **tests/coverage/index.html** in your favorite browser.
7474

7575
## PHPUnit XML Configuration
@@ -80,5 +80,5 @@ do not have your own configuration file in the project root.
8080

8181
The normal practice would be to copy ``phpunit.xml.dist`` to ``phpunit.xml``
8282
(which is git ignored), and to tailor it as you see fit.
83-
For instance, you might wish to exclude database tests, or automatically generate
83+
For instance, you might wish to exclude database tests, or automatically generate
8484
HTML code coverage reports.

0 commit comments

Comments
 (0)