Skip to content

Commit a09539a

Browse files
author
Alexander Obuhovich
committed
Adding user manual
1 parent 5ccccba commit a09539a

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,18 @@ Feel free to ask any questions and share your experiences in the [Chat Room](htt
88

99
## Usage
1010

11-
...
11+
1. when creating unit test class sub-class the base test case class (see [Installation](#installation))
12+
2. use `$this->pageFactory` to get page factory instance associated with current Mink session
1213

1314
## Installation
1415

15-
...
16+
1. run this command to add Composer dependencies: `php composer.phar require qa-tools/phpunit-extension --dev`
17+
2. create base class for all unit tests by sub-classing `\QATools\PHPUnitExtension\AbstractQAToolsTestCase`
18+
3. take a look at provided `\QATools\PHPUnitExtension\AbstractQAToolsTestCase::getBrowserAliases` method (change in sub-class if needed) to find out what default browser is used
1619

1720
## Requirements
1821

19-
...
22+
* [Composer](https://getcomposer.org/download/)
2023

2124
## License
2225

0 commit comments

Comments
 (0)