Skip to content

Commit fac6f82

Browse files
committed
Update README.md testing description
1 parent 6b197ce commit fac6f82

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ PHP-Parser to php-ast
33

44
[![Build Status](https://travis-ci.org/TysonAndre/php-parser-to-php-ast.svg?branch=master)](https://travis-ci.org/TysonAndre/php-parser-to-php-ast)
55

6-
5 out of 28 tests are failing, and only due to line numbers being wrong in php-ast. This is fixed in php 7.1-dev (will be in 7.1.4)
6+
8 out of 41 tests are failing, and only due to namespace support and line numbers being slightly different in php-ast.
7+
8+
- The test suite is not yet comprehensive.
79

810
[Current Issues](https://github.com/TysonAndre/php-parser-to-php-ast/issues/)
911

@@ -24,6 +26,13 @@ Using it as an error-tolerant substitute for php-ast (e.g. for use in IDEs)
2426
- Placeholders may change in the future.
2527
- [tests/ASTConverter/ErrorTolerantConversionTest.php](https://github.com/TysonAndre/php-parser-to-php-ast/blob/master/tests/ASTConverter/ErrorTolerantConversionTest.php)
2628

29+
Running unit tests
30+
------------------
31+
32+
To run unit tests, you must install [nikic/php-ast](https://github.com/nikic/php-ast)
33+
34+
- Then run `vendor/bin/phpunit`
35+
2736
Possible Future Enhancements
2837
----------------------------
2938

0 commit comments

Comments
 (0)