You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by Abhishek Sharma <ab...@gmail.com> on 2014/09/01 06:34:01 UTC

How to debug unit test in Eclipse

Hi,

Recently, I setup Kafka workspace using Eclipse and did try to run 
several unit test cases from Eclipse only.

Hard luck, not able to run and debug them.

Anyone, please suggest me over this. How to run and debug unit test 
cases and Kafka application using Eclipse.

Thanks
Abhishek Sharma

Re: How to debug unit test in Eclipse

Posted by Abhishek Sharma <ab...@gmail.com>.
my question is -

~ Is there any eclipse plugin required for execution like gradle plugin?
~ Unit test cases is needed to be run as junit or scala unit?

Please share some starting pointer related to it.

Thanks


On Wed, Sep 3, 2014 at 3:58 AM, Neha Narkhede <ne...@gmail.com>
wrote:

> Yes, it is possible. Looks like you are hitting some issues, so if you can
> be more specific about the details, someone can help you out.
>
>
> On Tue, Sep 2, 2014 at 2:34 PM, Abhishek Sharma <ab...@gmail.com>
> wrote:
>
> > Thanks for the reply.
> >
> > Everything is working fine. I just wish to execute unit test cases from
> > eclipse IDE and want to debug them. Is this possible??
> >
> >
> > On Tuesday 02 September 2014 11:53 PM, Neha Narkhede wrote:
> >
> >> Could you give more details about what errors/issues you ran into while
> >> trying to run the unit tests?
> >>
> >>
> >> On Mon, Sep 1, 2014 at 12:34 AM, Abhishek Sharma <ab...@gmail.com>
> >> wrote:
> >>
> >>  Hi,
> >>>
> >>> Recently, I setup Kafka workspace using Eclipse and did try to run
> >>> several
> >>> unit test cases from Eclipse only.
> >>>
> >>> Hard luck, not able to run and debug them.
> >>>
> >>> Anyone, please suggest me over this. How to run and debug unit test
> cases
> >>> and Kafka application using Eclipse.
> >>>
> >>> Thanks
> >>> Abhishek Sharma
> >>>
> >>>
> >
>

Re: How to debug unit test in Eclipse

Posted by Neha Narkhede <ne...@gmail.com>.
Yes, it is possible. Looks like you are hitting some issues, so if you can
be more specific about the details, someone can help you out.


On Tue, Sep 2, 2014 at 2:34 PM, Abhishek Sharma <ab...@gmail.com>
wrote:

> Thanks for the reply.
>
> Everything is working fine. I just wish to execute unit test cases from
> eclipse IDE and want to debug them. Is this possible??
>
>
> On Tuesday 02 September 2014 11:53 PM, Neha Narkhede wrote:
>
>> Could you give more details about what errors/issues you ran into while
>> trying to run the unit tests?
>>
>>
>> On Mon, Sep 1, 2014 at 12:34 AM, Abhishek Sharma <ab...@gmail.com>
>> wrote:
>>
>>  Hi,
>>>
>>> Recently, I setup Kafka workspace using Eclipse and did try to run
>>> several
>>> unit test cases from Eclipse only.
>>>
>>> Hard luck, not able to run and debug them.
>>>
>>> Anyone, please suggest me over this. How to run and debug unit test cases
>>> and Kafka application using Eclipse.
>>>
>>> Thanks
>>> Abhishek Sharma
>>>
>>>
>

Re: How to debug unit test in Eclipse

Posted by Abhishek Sharma <ab...@gmail.com>.
Thanks for the reply.

Everything is working fine. I just wish to execute unit test cases from 
eclipse IDE and want to debug them. Is this possible??

On Tuesday 02 September 2014 11:53 PM, Neha Narkhede wrote:
> Could you give more details about what errors/issues you ran into while
> trying to run the unit tests?
>
>
> On Mon, Sep 1, 2014 at 12:34 AM, Abhishek Sharma <ab...@gmail.com>
> wrote:
>
>> Hi,
>>
>> Recently, I setup Kafka workspace using Eclipse and did try to run several
>> unit test cases from Eclipse only.
>>
>> Hard luck, not able to run and debug them.
>>
>> Anyone, please suggest me over this. How to run and debug unit test cases
>> and Kafka application using Eclipse.
>>
>> Thanks
>> Abhishek Sharma
>>


Re: How to debug unit test in Eclipse

Posted by Neha Narkhede <ne...@gmail.com>.
Could you give more details about what errors/issues you ran into while
trying to run the unit tests?


On Mon, Sep 1, 2014 at 12:34 AM, Abhishek Sharma <ab...@gmail.com>
wrote:

> Hi,
>
> Recently, I setup Kafka workspace using Eclipse and did try to run several
> unit test cases from Eclipse only.
>
> Hard luck, not able to run and debug them.
>
> Anyone, please suggest me over this. How to run and debug unit test cases
> and Kafka application using Eclipse.
>
> Thanks
> Abhishek Sharma
>