We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 710ce25 commit 5f2a3ccCopy full SHA for 5f2a3cc
README.md
@@ -3,3 +3,33 @@
3
[](https://travis-ci.org/jphp-group/tester)
4
5
Unit Testing Framework for JPPM
6
+
7
+# How to use?
8
9
+1. Add `tester` dependency to `devDeps`.
10
11
+```
12
+jppm add tester -dev
13
14
15
+2. Create `tests` directory in root of your package dir.
16
+3. Create your first test class, e.g:
17
18
+```php
19
+use tester\{TestCase, Assert};
20
21
+class SimpleTest extends TestCase
22
+{
23
+ function testFeature()
24
+ {
25
+ $actual = "expected";
26
27
+ Assert::isEqual("expected", $actual);
28
+ }
29
+}
30
31
32
+4. Run your tests.
33
+```bash
34
+jppm test
35
0 commit comments