?+1, very good suggestion.

Marlon

________________________________
From: Sachin Kariyattin <sachin9...@gmail.com>
Sent: Tuesday, February 27, 2018 8:09 PM
To: dev@airavata.apache.org
Subject: Airavata unit tests - Mocking

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