我有一个像身体一样的测试方法
{
assertTrue("Login failed", somecondition);
assertTrue("Page not browsing", somecondition);
assertTrue("Button not found", somecondition);
//here I want to found whether any assertTrue failed or all are passed
}
我怎样才能做到这一点?