Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8096996

Browse files
author
Johannes Frandsen
committed
Updates to README
1 parent 7d31a22 commit 8096996

5 files changed

Lines changed: 24 additions & 29 deletions

File tree

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,5 @@ macports.sh
1515
/.sass-cache
1616
/bower_components
1717
vpu.db
18-
*.pid
18+
*.pid
19+
/cacert.pem

README.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,29 @@
1111

1212
# VisualPHPUnit
1313

14-
VisualPHPUnit is a visual front-end for PHPUnit. Current stable release is [v2.3.1](https://github.com/VisualPHPUnit/VisualPHPUnit/releases/tag/v2.3.1)
14+
VisualPHPUnit is a visual front-end for PHPUnit.
1515

1616
## Versions
1717

1818
* [1.x](https://github.com/VisualPHPUnit/VisualPHPUnit/tree/1.x) Initial concept and code by [Matt Mueller](https://github.com/matthewmueller)
1919
* [2.x](https://github.com/VisualPHPUnit/VisualPHPUnit/tree/2.x) A complete rewrite by [Nick Sinopoli](https://github.com/NSinopoli)
2020
* [3.x](https://github.com/VisualPHPUnit/VisualPHPUnit/tree/3.x) A complete rewrite by [Johannes Skov Frandsen](https://github.com/localgod)
2121

22+
##Setup
23+
24+
* Checkout or download the VisualPHPUnit
25+
* Run composer.php to install php dependecies.
26+
* Run npm install
27+
* Run bower install
28+
* Run `./bin/vpu -c vpu.json -s` to start VisualPHPUnit with the build in php server.
29+
* Run `./bin/vpu -c vpu.json -t` to stop VisualPHPUnit with the build in php server.
30+
31+
You may now browse localhost:8000 to acess the test suites.
32+
33+
You can update `./vpu.json` to add additional test suites.
34+
35+
You may run tests from the console like this `./bin/vpu -c vpu.json testfile.php`. You may append `-a` to archive your test results.
36+
2237
## Development
2338

2439
### Frontend

box.json.dist

Lines changed: 0 additions & 19 deletions
This file was deleted.

composer.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
"require" : {
1818
"php" : ">=5.6",
1919
"ext-pdo_sqlite" : "*",
20-
"symfony/console" : "3.0.3",
21-
"phpunit/phpunit" : "5.2.12",
20+
"symfony/console" : "3.0.4",
21+
"phpunit/phpunit" : "5.3.2",
2222
"silex/silex" : "1.3.5",
2323
"jdesrosiers/silex-cors-provider" : "0.1.5",
24-
"symfony/finder" : "3.0.3",
24+
"symfony/finder" : "3.0.4",
2525
"igorw/config-service-provider" : "1.2.2",
2626
"doctrine/dbal" : "2.5.4"
2727
},
@@ -39,5 +39,8 @@
3939
"psr-4" : {
4040
"Visualphpunit\\" : "src"
4141
}
42+
},
43+
"require-dev" : {
44+
"ext-mbstring" : "*"
4245
}
4346
}

package.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,9 @@
2828
"grunt-wiredep": "^2.0.0",
2929
"jit-grunt": "^0.9.1",
3030
"jshint-stylish": "^1.0.0",
31-
"karma-jasmine": "*",
32-
"karma-phantomjs-launcher": "*",
3331
"time-grunt": "^1.0.0"
3432
},
3533
"engines": {
3634
"node": ">=0.10.0"
37-
},
38-
"scripts": {
39-
"test": "grunt test"
4035
}
4136
}

0 commit comments

Comments
 (0)