You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-3Lines changed: 6 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,15 +8,18 @@ Feel free to ask any questions and share your experiences in the [Chat Room](htt
8
8
9
9
## Usage
10
10
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
12
13
13
14
## Installation
14
15
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
0 commit comments