|
1 | 1 | [Nette Tester](https://tester.nette.org): enjoyable unit testing
|
2 |
| -=============================================================== |
| 2 | +================================================================ |
3 | 3 |
|
4 | 4 | [](https://packagist.org/packages/nette/tester)
|
5 | 5 | [](https://travis-ci.org/nette/tester)
|
6 | 6 | [](https://ci.appveyor.com/project/dg/tester/branch/master)
|
7 | 7 | [](https://github.com/nette/tester/releases)
|
8 | 8 | [](https://github.com/nette/tester/blob/master/license.md)
|
9 | 9 |
|
| 10 | + |
| 11 | +Introduction |
| 12 | +------------ |
| 13 | + |
10 | 14 | Nette Tester is a productive and enjoyable unit testing framework. It's used by
|
11 | 15 | the [Nette Framework](https://nette.org) and is capable of testing any PHP code.
|
12 | 16 |
|
| 17 | +Documentation is available on the [Nette Tester website](https://tester.nette.org). |
| 18 | +Read the [blog](https://blog.nette.org/category/tester/) for new information. |
| 19 | + |
13 | 20 |
|
14 | 21 | Installation
|
15 | 22 | ------------
|
16 | 23 |
|
17 |
| -The best way how to install is to [download a latest package](https://github.com/nette/tester/releases) |
18 |
| -or use a Composer: |
| 24 | +The recommended way to install Nette Tester is through Composer: |
19 | 25 |
|
20 | 26 | ```
|
21 |
| -php composer.phar require --dev nette/tester |
| 27 | +composer require nette/tester --dev |
22 | 28 | ```
|
23 | 29 |
|
24 |
| -Nette Tester requires PHP 5.6.0 or later. Collecting and processing |
| 30 | +Alternatively, you can download the [tester.phar](https://github.com/nette/tester/releases) file. |
| 31 | + |
| 32 | +Nette Tester requires PHP 5.6.0 and supports PHP up to 7.2. Collecting and processing |
25 | 33 | code coverage information depends on Xdebug, or PHPDBG.
|
26 | 34 |
|
27 | 35 |
|
@@ -74,6 +82,7 @@ OK (1 tests, 0 skipped, 0.0 seconds)
|
74 | 82 | Nette Tester prints dot for successful test, F for failed test
|
75 | 83 | and S when the test has been skipped.
|
76 | 84 |
|
| 85 | + |
77 | 86 | Assertions
|
78 | 87 | ----------
|
79 | 88 |
|
|
0 commit comments