Lens

Lens executable

Running Tests

If you provide no arguments, Lens will run all of your tests:

lens

But if you provide one or more paths, Lens will run only the tests at the specified locations:

lens MyFile.php MyDirectory

Reports

Lens can provide reports in different formats. This is mainly useful for integration with third-party tools:

Generate an xUnit report:

lens --report=xunit

Generate a TAP report:

lens --report=tap

Version

View the version information:

lens --version

Is your version of Lens up to date? Here are the current releases for comparison.