aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/Unit-tests.md
AgeCommit message (Collapse)AuthorFilesLines
2023-09-18Update link to lcovEberhard Beilharz1-1/+1
lcov moved from sourceforge to github, so this change updates the link.
2023-05-25mtest: wildcard selectionCharles Brunet1-0/+21
Allow the use of wildcards (e.g. *) to match test names in `meson test`. Raise an error is given test name does not match any test. Optimize the search by looping through the list of tests only once.
2023-04-11Change "can not" to "cannot" throughout projectHiPhish1-2/+2
The word "cannot" expresses inability to do something whereas "can not" expresses the ability to refrain from doing something.
2022-10-23Fix typos in docsElliott Sales de Andrade1-1/+1
2022-06-21docs: grammar and formatting nitsEli Schwartz1-2/+8
2022-06-21docs: remove incorrect information about nonexisting kwargEli Schwartz1-2/+2
2022-06-21Update Unit-tests.md (#10515)CLanguagePurist1-0/+8
2021-10-03docs: Fix broken linksDaniel Mensinger1-1/+1
2021-07-23Add support for gcovr --sonarqube reportWeston Schmidt1-0/+1
Sonarcloud.io only can read the sonarqube based report that gcovr can produce. This change enables support for this output in meson and ninja. Signed-off-by: Weston Schmidt <Weston_Schmidt@alumni.purdue.edu>
2021-01-31Capitalize "Meson" consistently as it is a proper name. [skip ci]Jussi Pakkanen1-4/+4
2021-01-30Rewrap long text lines in docs. [skip ci]Jussi Pakkanen1-80/+89
2020-06-30Replaced `ninja` with `meson` [skip ci]TheQwertiest1-1/+1
2020-06-18docs: replaced `ninja` with appropriate `meson` commands [skip ci]TheQwertiest1-3/+2
2020-06-02docs/unit-tests: Show a test can have multiple suites [skip ci]Ebrahim Byagowi1-1/+1
2020-05-04docs/unit-tests: Add information about output filesDylan Baker1-0/+25
2020-05-04docs: Reformat unit-tests to be ~80 characters per lineDylan Baker1-41/+84
2020-03-09Document the requirement to run tests before coverage [skip ci]Vedran Miletić1-1/+11
Co-authored-by: Vedran Miletić <vedran@miletic.net>
2020-02-27doc: fix link warningsMathieu Duponchelle1-1/+1
2019-12-06mtest: document default MALLOC_PERTURB_=1..255 behavior [skip ci]Michael Hirsch, Ph.D1-8/+12
This default behavior can have surprising and time-consuming outcomes. I was wondering why certain tests using several external, fixed libraries would fail only with Meson and not with CMake or manual runs. It turned out mtest.py enables MALLOC_PERTURB_ by default, which is surprising--a topic for another Issue/PR. At least, this surprising default is documented with workarounds.
2019-11-06Fix typos found by codespellWolfgang Stöggl1-1/+1
- Typos were found by codespell v1.16.0
2019-10-08doc: tell that unit-tests "priority" is introduced in 0.52 [skip ci]Gabriel Ganne1-0/+2
2019-10-04mtest: add gdb_path optionGerion Entrup1-0/+6
When using the '--gdb' argument of meson test the executed binary can now be specified with '--gdb-path'. Closing: #4373
2019-08-24Add test priorities to force test start orderPeter Hutterer1-0/+13
2019-07-30DOC: meson test multiple --suite specifications [skip ci]Michael Hirsch, Ph.D1-3/+32
docs:wrap < 80 col
2019-04-24doc: Update coverage related documentationRichard Kjerstadius1-1/+1
2019-03-02mtest: implement TAP parsingPaolo Bonzini1-1/+5
This provides an initial support for parsing TAP output. It detects failures and skipped tests without relying on exit code, as well as early termination of the test due to an error or a crash. For now, subtests are not recorded in the TestRun object. However, because the TAP output goes on stdout, it is printed by --print-errorlogs when a test does not behave as expected. Handling subtests as TestRuns, and serializing them to JSON, can be added later. The parser was written specifically for Meson, and comes with its own test suite. Fixes #2923.
2019-03-02mtest: add support for hard errorsPaolo Bonzini1-1/+3
Hard errors also come from the GNU Automake test protocol. They happen when e.g., the set-up of a test case scenario fails, or when some other unexpected or highly undesirable condition is encountered. TAP will use them for parse errors too. Add them to the exitcode protocol first.
2018-06-29add documentation of meson test --print-errorlogs (#3809) [skip ci]Alberto Sartori1-0/+6
2018-04-14improve suite of meson test (#3369)Alberto Sartori1-0/+8
2018-02-27Allow gcovr >= 3.1 to be used to generate html coverage reportJoel Klinghed1-1/+1
Modern gcovr includes html generation support so if lcov and genhtml are not available fallback to gcovr. Kept lcov and genhtml as default so to not surprise existing users of coverage-html with the different output of gcovr. gcovr added html support in 3.0 but as there already is a test for 3.1 because of the changes to -r/--rootdir I opted to only allow html generation for >= 3.1 to keep things simple.
2017-10-31docs: remove references to `mesontest`Eric Engestrom1-3/+3
`mesontest` is deprecated, and shouldn't be suggested to users anymore.
2017-09-22Replaced references to 'mesontest'Johan Bjäreholt1-8/+10
'mesontest' is deprecated and is now 'meson test' Replaced all references to 'mesontest' with 'meson test' and added a note of the change in the bottom of the page
2017-07-22Fix typo in Unit-tests.mdLuca Mattiello1-1/+1
2017-05-21Update linkcagatay-y1-1/+1
Gcovr homepage is moved. Updated the link to the new URL.
2017-05-04Use American English: behaviour -> behaviorPeter Hutterer1-1/+1
2017-05-03doc: Use https links wherever possible.Elliott Sales de Andrade1-1/+1
2017-05-03doc: Capitalize things more consistently.Elliott Sales de Andrade1-4/+4
Upper or lower case depending on the official spelling, or the more consistent usage.
2017-05-03docs: add a short description for all top pages in the ManualPeter Hutterer1-0/+4
2017-04-26docs: Import the website and wiki and build with hotdocThibault Saunier1-0/+104
This allows us to more easily have the documentation in sync with the source code as people will have to document new features etc right at the time where they implement it.