commit | 20dc2c9e820ebd604fc3b6a9113d4687045ca81a | [log] [tgz] |
---|---|---|
author | cpovirk <cpovirk@google.com> | Wed Aug 30 11:46:36 2017 -0700 |
committer | Chris Povirk <beigetangerine@gmail.com> | Thu Aug 31 17:45:45 2017 -0400 |
tree | ccfd6a1b7fa971de94397c9b615022de7613ac43 | |
parent | 4c0a65457cb7a16578592cfb2278a2bb99f78cad [diff] |
Link from Expect to ExpectFailure. We already have a link in the ExpectationGatherer deprecation text, but the link will go away when the class is made public. And it's clear from the old ExpectationGatherer user and from CL 167017292 that people are finding Expect when they want ExpectFailure. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=167026073
We've made failure a strategy
Truth is an assertion/proposition framework appropriate for testing, inspired by FEST, and driven by some extensibility needs, written nearly entirely by Google employees in their spare time or contributing in their capacity as Java core librarians.
Truth can be used in place of JUnit‘s assertions, FEST, or Hamcrest’s matchers, or it can be used alongside where other approaches seem more suitable.
The full documentation for Truth is available at its main website
Truth is licensed under the open-source Apache 2.0 license.
Please see the guidelines for contributing before creating pull requests.
Thanks to Github and Travis-CI for having a strong commitment to open-source, and providing us with tools so we can provide others with code. And thanks to Google for Guava, for taking on the Truth project and making it part of their core-libraries effort, and for encouraging us to try to solve problems in better ways and share that with the world.
Also thanks to the authors of JUnit, TestNG, Hamcrest, FEST, and others for creating testing tools that let us write high-quality code, for inspiring this work and for moving the ball forward in the field of automated software testing. This project works with, works alongside, and sometimes works in competition with the above tools, but owes a debt that everyone owes to those gone before. They paved the way, and we hope this contribution is helpful to the field.