tree: 6754d14708e650fb73a11a1fafda395174238e61 [path history] [tgz]
  1. cmd/
  2. BUILD.gn
  3. dartsystemtest.go
  4. googletest.go
  5. gotest.go
  6. OWNERS
  7. README.md
  8. result.go
  9. rusttest.go
  10. testparser.go
  11. testparser_test.go
  12. trftest.go
  13. vulkanctstest.go
  14. zircon_utest.go
tools/testing/testparser/README.md

testparser

Reviewed on: 2020-04-22

Parses stdout from various test frameworks into a common structured format.

This library is useful for instance for providing structured test results on commit queue dashboards, or for performing more sophisticated data on test results such as when identifying flakes or root-causing test infrastructure failures.

Support for several common test frameworks and runtimes is provided:

  • C++ tests (via GoogleTest)
  • Rust tests (via rust-lang/libtest)
  • Go tests (via golang.org/pkg/testing)
  • Dart tests (via package:test)
  • Generic Test Runner Framework tests (agnostic of language & runtime)
  • Specialized Zircon unit testing framework
  • Specialized Vulkan CTS testing framework

This library is designed to be extensible and testable. Adding support for new test frameworks is easy, simple, and fun!

Building

fx set --with //tools/testing/testparser

Testing

fx set --with //tools/testing/testparser:tests
fx test testparser_tests