Hi... trying to write a test case for a pacth ... need help....

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Hi... trying to write a test case for a pacth ... need help....

Paul Anderson
... The code is done ready to go, but the test suite looks huge, I know the
two test classes I have to augment... but I am unsure of a couple of things.

1) how do I run a specific test (command line)
2) how do I start (make sure is started) an ignite instance
Reply | Threaded
Open this post in threaded view
|

Re: Hi... trying to write a test case for a pacth ... need help....

dsetrakyan
Hi Paul, what Jira ticket are you working on?

On Tue, Sep 4, 2018 at 7:02 AM, Paul Anderson <[hidden email]> wrote:

> ... The code is done ready to go, but the test suite looks huge, I know the
> two test classes I have to augment... but I am unsure of a couple of
> things.
>
> 1) how do I run a specific test (command line)
> 2) how do I start (make sure is started) an ignite instance
>
Reply | Threaded
Open this post in threaded view
|

Re: Hi... trying to write a test case for a pacth ... need help....

Ilya Kasnacheev
In reply to this post by Paul Anderson
Hello!

1) It is really advised to run tests from IDEA (that's what absolute
majority of active contributors seem to be using), but you can also run it
with
mvn clean install -Dtest=SimpleClassNameOfTest -DfailIfNoTests=false

2) enable 'examples' profile and run ExampleNodeStartup class.

Regards,
--
Ilya Kasnacheev


вт, 4 сент. 2018 г. в 16:57, Paul Anderson <[hidden email]>:

> ... The code is done ready to go, but the test suite looks huge, I know the
> two test classes I have to augment... but I am unsure of a couple of
> things.
>
> 1) how do I run a specific test (command line)
> 2) how do I start (make sure is started) an ignite instance
>