The PHPUnit project is no longer involved with the translation of its documentation to other languages. This repository is now archived.
This repository contains the French documentation for PHPUnit.
The documentation is accessible at https://phpunit.readthedocs.io/en/latest/.
The original documentation in English: https://github.com/sebastianbergmann/phpunit-documentation-english
Each translation of the documentation is maintained in a dedicated repository:
If you would like to create a new translation, please open an issue on the English documentation tracker, indicating the language you wish to translate. A repository will be created and added to the available translations.
Ideally, you will have already prepared a first version based on a fork or a copy of the English documentation which will then be imported into the official repository.
To generate the documentation, run the following command line:
$ make html
Then you will find the HTML files in build/html
.
$ pip install docutils-ast-writer
$ npm install
$ ./node_modules/.bin/textlint src
Thank you for taking the time to help.
The following table lists the translation rules used to guarantee overall consistency. This includes technical terms.
English | French |
---|---|
actual | observed (value) |
array | translated by array except when explicitly referring to PHP |
assertion | translated as assertion, more telling than affirmation |
composable | composable (nothing better found) |
expected | expected (value) |
framework | framework |
isolated | independent (insulated is ambiguous, waterproof a little less...) |
instructions | REMARK |
return | returns rather than returns |
requirements | prerequisites |
extension | extensions |
code coverage | code coverage |
appendix | appendix |
fixture | fixture (not found better in French) |
stub | cork |
verb ing | translated by the infinitive in titles: testing => tester |
Recommended reading: