Monday, October 5, 2020

Weather app

 https://github.com/ChamichApps/Mock-Response-In-Retrofit-2.0/blob/master/app/src/main/java/com/vavian/mockretrofitrequests/rest/service/FakeInterceptor.java


With java-hamcrest 2.0.0.0 we can use this syntax:

    // import static org.hamcrest.MatcherAssert.assertThat;
    // import org.hamcrest.Matchers;

    BigDecimal a = new BigDecimal("100")
    BigDecimal b = new BigDecimal("100.00")
    assertThat(a,  Matchers.comparesEqualTo(b));
https://mkyong.com/java/jsonassert-how-to-unit-test-json-data/

No comments:

Post a Comment

JMeter Simple Controller

  Simple Controller is just a  container  for user request.