asterixdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yingyi Bu <buyin...@gmail.com>
Subject Re: MockIto for unit tests
Date Fri, 18 Sep 2015 18:12:12 GMT
BTW, combining MockIto and privilegedaccessor (junit.extensions.PA),  you
can test almost everything, e.g., private methods, private variables:-)

Best,
Yingyi

On Fri, Sep 18, 2015 at 11:00 AM, Yingyi Bu <buyingyi@gmail.com> wrote:

> Guys,
>
> MockIto is a really nice framework which allows us to very easily do unit
> tests:
> http://mockito.org/
>
> Here is an example for how I use it:
>
> https://github.com/apache/incubator-asterixdb/blob/master/asterix-app/src/test/java/org/apache/asterix/api/http/servlet/ConnectorAPIServletTest.java
>
> Let's write more unit tests for our code:-)
>
> Best,
> Yingyi
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message