ArchiveorgSoftwareGoogletest - Google Testing and Mocking Framework OSS Builds Status AnnouncementsRelease 1.10.xRelease 1.10.x[1]is now available.Coming SoonWelcome to GoogleTest, Google's C++ test framework!This repository is a merger of the formerly separate GoogleTest and GoogleMockprojects. These were so closely related that it makes sense to maintain andrelease them together.Getting StartedThe information for GoogleTest is available in theGoogleTest Primer[2] documentation.GoogleMock is an extension to GoogleTest for writing and using C++ mockclasses. See the separate GoogleMock documentation[3].More detailed documentation for googletest is in its interiorgoogletest/README.md[4] file.FeaturesAn xUnit[5] test framework.Test discovery.A rich set of assertions.User-defined assertions.Death tests.Fatal and non-fatal failures.Value-parameterized tests.Type-parameterized tests.Various options for running the tests.XML test report generation.Supported PlatformsGoogleTest requires a codebase and compiler compliant with the C++11 standard ornewer.The GoogleTest code is officially supported on the following platforms.Operating systems or tools not listed below are community-supported. Forcommunity-supported platforms, patches that do not complicate the code may beconsidered.If you notice any problems on your platform, please file an issue on theGoogleTest GitHub Issue Tracker[6].Pull requests containing fixes are welcome!Operating SystemsCompilersgcc 5.0+clang 5.0+MSVC 2015+macOS users: Xcode 9.3+ provides clang 5.0+.Build SystemsNote: Bazel is the build system used by the team internally and in tests.CMake is supported on a best-effort basis and by the community.Who Is Using GoogleTest?In addition to many internal projects at Google, GoogleTest is also used by thefollowing notable projects:Related Open Source ProjectsGTest Runner[7] is a Qt5 basedautomated test-runner and Graphical User Interface with powerful features forWindows and Linux platforms.GoogleTest UI[8] is a test runner thatruns your test binary, allows you to track its progress via a progress bar, anddisplays a list of test failures. Clicking on one shows failure text. GoogleTest UI is written in C#.GTest TAP Listener[9] is an eventlistener for GoogleTest that implements theTAP protocol[10] for testresult output. If your test runner understands TAP, you may find it useful.gtest-parallel[11] is a test runner thatruns tests from your binary in parallel to provide significant speed-up.GoogleTest Adapter[12]is a VS Code extension allowing to view GoogleTest in a tree view, and run/debugyour tests.C++ TestMate[13] is a VSCode extension allowing to view GoogleTest in a tree view, and run/debug yourtests.Cornichon[14] is a small Gherkin DSL parserthat generates stub code for GoogleTest.Contributing ChangesPlease read CONTRIBUTING.md[15] for details on how tocontribute to this project.Happy testing! To restore the repository download the bundle wget https://archive.org/download/github.com-google-googletest_-_2021-03-01_09-04-13/google-googletest_-_2021-03-01_09-04-13.bundle and run: git clone google-googletest_-_2021-03-01_09-04-13.bundle Source: https://github.com/google/googletest[16]Uploader: google[17]Upload date: 2021-03-01 References^ Release 1.10.x (github.com)^ GoogleTest Primer (archive.org)^ GoogleMock documentation (archive.org)^ googletest/README.md (archive.org)^ xUnit (en.wikipedia.org)^ GoogleTest GitHub Issue Tracker (github.com)^ GTest Runner (github.com)^ GoogleTest UI (github.com)^ GTest TAP Listener (github.com)^ TAP protocol (en.wikipedia.org)^ gtest-parallel (github.com)^ GoogleTest Adapter (marketplace.visualstudio.com)^ C++ TestMate (github.com)^ Cornichon (pypi.org)^ CONTRIBUTING.md (archive.org)^ https://github.com/google/googletest (github.com)^ google (github.com)

weiterlesen: RSS Quelle öffnen