summaryrefslogtreecommitdiffstats
path: root/googletest/test/googletest-json-output-unittest.py
Commit message (Collapse)AuthorAgeFilesLines
* Export testsuite properties as XML elements, not attributes.Abseil Team2025-01-311-17/+19
| | | | | | | | With this change, arbitrary property names in the testsuite no longer cause the produced XML output to be ill-formed. PiperOrigin-RevId: 721549090 Change-Id: Iedffa89bf914478f563c8f3b82cd50557762a665
* gtest: Output a canned test case for test suite setup / teardown failures in ↵Abseil Team2024-12-261-9/+86
| | | | | | | | | | | XML/JSON This surfaces useful information about the environment failure in a structured form. As we can see from the updated test, previously unsurfaced information is now present. PiperOrigin-RevId: 709892315 Change-Id: I2656294d50c33f995bef5c96195a66cff3c4b907
* Merge pull request #4508 from davidmatson:addJsonSkippedCopybara-Service2024-04-081-0/+15
|\ | | | | | | | | PiperOrigin-RevId: 622929007 Change-Id: Ifaf5a701baee74503e6845f32ebc27425882e950
| * Add skipped messages to JSON output (fixes #4507).refs/pull/4508/headDavid Matson2024-04-031-0/+18
|/ | | | Fix the gap between JSON and XML output.
* Add missing std includesTom Hughes2023-04-201-27/+27
| | | | | PiperOrigin-RevId: 525794940 Change-Id: Ib2639058610c91cbffbb0f22a5e71573e0cbd651
* gtest.cc: add a newline after a failure when there is no OS stack trace.Aaron Jacobs2023-03-231-1/+1
| | | | | | | | This makes the behavior consistent when GTEST_STACK_TRACE_DEPTH is set to zero and not: there is always vertical whitespace separating failure messages. PiperOrigin-RevId: 518744611 Change-Id: I5b4af40633849850660504c3f497a76601d4311d
* Fix formatting in subset of Python filesTom Hughes2023-01-251-696/+598
| | | | | | | | These files were formatted with automated tools. The remaining Python files require some manual fix ups, so they will be fixed separately. PiperOrigin-RevId: 504579820 Change-Id: I3923bd414bffe3ded6163ec496cd09ace3951928
* Replace deprecated python callsTom Hughes2023-01-171-16/+22
| | | | | | | | assert_ -> assertTrue/assertFalse/assertIn/assertNotIn assertEquals -> assertEqual PiperOrigin-RevId: 502654909 Change-Id: I25d30095a83c3806606cb80d676b3c979495e6bd
* Merge pull request #3774 from sobczyk:mainCopybara-Service2022-03-151-0/+64
|\ | | | | | | | | PiperOrigin-RevId: 434738675 Change-Id: I7c8de4004bac6b750674d19e3e79c0695a42652e
| * Adjust xml and json unit tests to test for source file and line location.Szymon Sobik2022-03-081-0/+64
|/
* Makes the Python imports consistently use full paths from the repository root,Derek Mauro2021-12-221-2/+2
| | | | | | | | | unifying the behavior between Bazel and CMake This fixes one of the CI failures on Windows PiperOrigin-RevId: 417872531 Change-Id: I156989323b7e6d4a4420f4f9691b078829db933d
* Googletest exportAbseil Team2021-03-161-13/+57
| | | | | | | | | | gtest: Output a canned test suite for environment failures in XML/JSON This surfaces useful information about the environment failure in a structured form. As we can see from the updated test, previously unsurfaced information is now present. PiperOrigin-RevId: 362292322
* Merge pull request #2767 from mvoorsluys:OutputXmlSkippedDerek Mauro2020-05-281-4/+30
|\ | | | | | | PiperOrigin-RevId: 313386267
| * Fixed xml unit-tests and added extra testsMario Voorsluys2020-03-261-4/+24
|/ | | | | The extra tests check that the xml output is correct when a failure occurs before skipping, and that the right skip message is added to the file. The json file had to be fixed because it's the same executable.
* Googletest exportAbseil Team2019-07-261-430/+450
| | | | | | | | Adds ISO8601 timestamps to XML output and RFC3339 timestamps to JSON output. Adds timestamps to testsuites, testsuite and testcases structured JSON/XML output for better reporting how/where time is spent on tests. PiperOrigin-RevId: 260039817
* Googletest exportAbseil Team2019-03-281-267/+391
| | | | | | Update XML and JSON output to be consistent with the standard. PiperOrigin-RevId: 239833242
* Googletest exportmisterg2019-01-111-6/+6
| | | | | | Change tests to use new Test Suite API PiperOrigin-RevId: 228908894
* Googletest exportAbseil Team2018-12-131-1/+17
| | | | | | Support skipped in XML and JSON output PiperOrigin-RevId: 225386540
* adding googletest-json-output unitestGennadiy Civil2018-08-011-0/+618