You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ambari.apache.org by Anisha Agarwal <aa...@hexiscyber.com> on 2014/04/08 02:34:55 UTC
Running unit tests
Hi,
I tried to run all the unit tests using mvn clean test using the documentation here: https://cwiki.apache.org/confluence/display/AMBARI/Ambari+Development.
But, this only runs the ambari-server unit tests.
How do I run the other unit tests in ambari-web? Is there any documentation available for this?
What framework do we use for writing the js unit tests?
Thanks,
Anisha
Re: Running unit tests
Posted by Anisha Agarwal <aa...@hexiscyber.com>.
Thanks a lot Yusaku.
- Anisha
From: Yusaku Sako <yu...@hortonworks.com>>
Reply-To: "user@ambari.apache.org<ma...@ambari.apache.org>" <us...@ambari.apache.org>>
Date: Monday, April 7, 2014 at 5:46 PM
To: "user@ambari.apache.org<ma...@ambari.apache.org>" <us...@ambari.apache.org>>
Subject: Re: Running unit tests
Hi Anisha,
Unfortunately, triggering ambari-web unit tests is not integrated with "mvn test" command yet.
You can manually run ambari-web unit tests manually.
This is described in [1]
BTW, ambari-web unit test is an active area where folks are working on right now, including integrating code coverage tools, etc.
[1] https://cwiki.apache.org/confluence/display/AMBARI/Coding+Guidelines+for+Ambari
Yusaku
On Mon, Apr 7, 2014 at 5:34 PM, Anisha Agarwal <aa...@hexiscyber.com>> wrote:
Hi,
I tried to run all the unit tests using mvn clean test using the documentation here: https://cwiki.apache.org/confluence/display/AMBARI/Ambari+Development.
But, this only runs the ambari-server unit tests.
How do I run the other unit tests in ambari-web? Is there any documentation available for this?
What framework do we use for writing the js unit tests?
Thanks,
Anisha
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to which it is addressed and may contain information that is confidential, privileged and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any printing, copying, dissemination, distribution, disclosure or forwarding of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and delete it from your system. Thank You.
Re: Running unit tests
Posted by Yusaku Sako <yu...@hortonworks.com>.
Hi Anisha,
Unfortunately, triggering ambari-web unit tests is not integrated with "mvn
test" command yet.
You can manually run ambari-web unit tests manually.
This is described in [1]
BTW, ambari-web unit test is an active area where folks are working on
right now, including integrating code coverage tools, etc.
[1]
https://cwiki.apache.org/confluence/display/AMBARI/Coding+Guidelines+for+Ambari
Yusaku
On Mon, Apr 7, 2014 at 5:34 PM, Anisha Agarwal <aa...@hexiscyber.com>wrote:
> Hi,
>
> I tried to run all the unit tests using mvn clean test using the
> documentation here:
> https://cwiki.apache.org/confluence/display/AMBARI/Ambari+Development.
> But, this only runs the ambari-server unit tests.
>
> How do I run the other unit tests in ambari-web? Is there any
> documentation available for this?
> What framework do we use for writing the js unit tests?
>
> Thanks,
> Anisha
>
--
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to
which it is addressed and may contain information that is confidential,
privileged and exempt from disclosure under applicable law. If the reader
of this message is not the intended recipient, you are hereby notified that
any printing, copying, dissemination, distribution, disclosure or
forwarding of this communication is strictly prohibited. If you have
received this communication in error, please contact the sender immediately
and delete it from your system. Thank You.