I was wondering if there is any way using testng of avoiding execution
of tests if any of the files has change since the last execution. If
some conditions were reached, we can certainly avoid repeating tests
that are going to deterministicaly success or fail.
If this doesn't exist, I'd like to colaborate to get this done.
On Mon, Mar 5, 2012 at 2:09 AM, Alberto <alberto.cartag...@gmail.com> wrote: > I was wondering if there is any way using testng of avoiding execution > of tests if any of the files has change since the last execution. If > some conditions were reached, we can certainly avoid repeating tests > that are going to deterministicaly success or fail.
> If this doesn't exist, I'd like to colaborate to get this done.
> Looking forward to hearing from you
> -- > You received this message because you are subscribed to the Google Groups > "testng-dev" group. > To post to this group, send email to testng-dev@googlegroups.com. > To unsubscribe from this group, send email to > testng-dev+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/testng-dev?hl=en.
> This is more the job of a build tool than TestNG, in my opinion.
> -- > Cédric
> On Mon, Mar 5, 2012 at 2:09 AM, Alberto <alberto.cartag...@gmail.com> wrote:
>> I was wondering if there is any way using testng of avoiding execution >> of tests if any of the files has change since the last execution. If >> some conditions were reached, we can certainly avoid repeating tests >> that are going to deterministicaly success or fail.
>> If this doesn't exist, I'd like to colaborate to get this done.
>> Looking forward to hearing from you
>> -- >> You received this message because you are subscribed to the Google Groups >> "testng-dev" group. >> To post to this group, send email to testng-dev@googlegroups.com. >> To unsubscribe from this group, send email to >> testng-dev+unsubscribe@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/testng-dev?hl=en.
> -- > You received this message because you are subscribed to the Google Groups > "testng-dev" group. > To post to this group, send email to testng-dev@googlegroups.com. > To unsubscribe from this group, send email to > testng-dev+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/testng-dev?hl=en.
> > This is more the job of a build tool than TestNG, in my opinion.
> > --
> > Cédric
> > On Mon, Mar 5, 2012 at 2:09 AM, Alberto <alberto.cartag...@gmail.com> wrote:
> >> I was wondering if there is any way using testng of avoiding execution
> >> of tests if any of the files has change since the last execution. If
> >> some conditions were reached, we can certainly avoid repeating tests
> >> that are going to deterministicaly success or fail.
> >> If this doesn't exist, I'd like to colaborate to get this done.
> >> Looking forward to hearing from you
> >> --
> >> You received this message because you are subscribed to the Google Groups
> >> "testng-dev" group.
> >> To post to this group, send email to testng-dev@googlegroups.com.
> >> To unsubscribe from this group, send email to
> >> testng-dev+unsubscribe@googlegroups.com.
> >> For more options, visit this group at
> >>http://groups.google.com/group/testng-dev?hl=en.
> > --
> > You received this message because you are subscribed to the Google Groups
> > "testng-dev" group.
> > To post to this group, send email to testng-dev@googlegroups.com.
> > To unsubscribe from this group, send email to
> > testng-dev+unsubscribe@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/testng-dev?hl=en.
One problem I've seen with these conditional test runners is that if you use testngs dependencies then you can end up with strange results due to classes not being included.
So your milage may vary...
-- Sent from an Android On Mar 6, 2012 10:02 PM, "Alberto" <alberto.cartag...@gmail.com> wrote:
> Thanks for your opinion, I will take a look to Gradle, but we are > using Maven to work..
> On Mar 5, 7:42 pm, Tomek Kaczanowski <kaczanowski.to...@gmail.com> > wrote: > > Gradle is quite smart when it comes to building/executing only what > > should be built/executed.
> > > This is more the job of a build tool than TestNG, in my opinion.
> > > -- > > > Cédric
> > > On Mon, Mar 5, 2012 at 2:09 AM, Alberto <alberto.cartag...@gmail.com> > wrote:
> > >> I was wondering if there is any way using testng of avoiding execution > > >> of tests if any of the files has change since the last execution. If > > >> some conditions were reached, we can certainly avoid repeating tests > > >> that are going to deterministicaly success or fail.
> > >> If this doesn't exist, I'd like to colaborate to get this done.
> > >> Looking forward to hearing from you
> > >> -- > > >> You received this message because you are subscribed to the Google > Groups > > >> "testng-dev" group. > > >> To post to this group, send email to testng-dev@googlegroups.com. > > >> To unsubscribe from this group, send email to > > >> testng-dev+unsubscribe@googlegroups.com. > > >> For more options, visit this group at > > >>http://groups.google.com/group/testng-dev?hl=en.
> > > -- > > > You received this message because you are subscribed to the Google > Groups > > > "testng-dev" group. > > > To post to this group, send email to testng-dev@googlegroups.com. > > > To unsubscribe from this group, send email to > > > testng-dev+unsubscribe@googlegroups.com. > > > For more options, visit this group at > > >http://groups.google.com/group/testng-dev?hl=en.
> -- > You received this message because you are subscribed to the Google Groups > "testng-dev" group. > To post to this group, send email to testng-dev@googlegroups.com. > To unsubscribe from this group, send email to > testng-dev+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/testng-dev?hl=en.
Yes, I'd have to take care of dependencies, and hierarky, and resources, and maybe an annotation for "this tests is not deterministic" (They shouldn't exist, but they do).
I am not in a hurry with this, it is only a personal project.
On Tue, Mar 6, 2012 at 11:30 AM, Mark Derricutt <m...@talios.com> wrote: > One problem I've seen with these conditional test runners is that if you > use testngs dependencies then you can end up with strange results due to > classes not being included.
> So your milage may vary...
> -- Sent from an Android > On Mar 6, 2012 10:02 PM, "Alberto" <alberto.cartag...@gmail.com> wrote:
>> Thanks for your opinion, I will take a look to Gradle, but we are >> using Maven to work..
>> On Mar 5, 7:42 pm, Tomek Kaczanowski <kaczanowski.to...@gmail.com> >> wrote: >> > Gradle is quite smart when it comes to building/executing only what >> > should be built/executed.
>> > > This is more the job of a build tool than TestNG, in my opinion.
>> > > -- >> > > Cédric
>> > > On Mon, Mar 5, 2012 at 2:09 AM, Alberto <alberto.cartag...@gmail.com> >> wrote:
>> > >> I was wondering if there is any way using testng of avoiding >> execution >> > >> of tests if any of the files has change since the last execution. If >> > >> some conditions were reached, we can certainly avoid repeating tests >> > >> that are going to deterministicaly success or fail.
>> > >> If this doesn't exist, I'd like to colaborate to get this done.
>> > >> Looking forward to hearing from you
>> > >> -- >> > >> You received this message because you are subscribed to the Google >> Groups >> > >> "testng-dev" group. >> > >> To post to this group, send email to testng-dev@googlegroups.com. >> > >> To unsubscribe from this group, send email to >> > >> testng-dev+unsubscribe@googlegroups.com. >> > >> For more options, visit this group at >> > >>http://groups.google.com/group/testng-dev?hl=en.
>> > > -- >> > > You received this message because you are subscribed to the Google >> Groups >> > > "testng-dev" group. >> > > To post to this group, send email to testng-dev@googlegroups.com. >> > > To unsubscribe from this group, send email to >> > > testng-dev+unsubscribe@googlegroups.com. >> > > For more options, visit this group at >> > >http://groups.google.com/group/testng-dev?hl=en.
>> -- >> You received this message because you are subscribed to the Google Groups >> "testng-dev" group. >> To post to this group, send email to testng-dev@googlegroups.com. >> To unsubscribe from this group, send email to >> testng-dev+unsubscribe@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/testng-dev?hl=en.
>> -- > You received this message because you are subscribed to the Google Groups > "testng-dev" group. > To post to this group, send email to testng-dev@googlegroups.com. > To unsubscribe from this group, send email to > testng-dev+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/testng-dev?hl=en.