Hi Sachin,

+1. mockito also is widely used in the industry. But when I went through
some reviews, seems jmockit wins the competition. Do you have an idea about
the maturity of the project?

[1] http://site.mockito.org/

On Wed, Feb 28, 2018 at 2:14 PM, Christie, Marcus Aaron <[email protected]>
wrote:

> +1.
>
>
> On Feb 27, 2018, at 8:09 PM, Sachin Kariyattin <[email protected]>
> wrote:
>
> Hello Dev,
>
> I see that we don’t use mocking in any of the Airavata unit tests. This
> sometimes makes it difficult because all the dependent objects need to be
> created before one particular piece can be tested.
>
> I came across this when I tried to test the validator class
> (BatchQueueValidator, GroupResourceProfileValidator etc).
>
> I am Planning to use JMockit http://jmockit.github.io and implement a
> unit test to start with. Any feedback/views on this is appreciated.
>
>
> --
>
>
> *Regards, Sachin Kariyattin *
>
>
>

Reply via email to