测试框架:truth
xf3f
9年前
Truth 是一个用于测试的 assertion/proposition 框架。它能够用来取代 JUnit's assertions, FEST, Hamcrest's matchers 等情况。 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.