Testing RT. How to run tests?

Could someone give me a quick a dirty summary of running RT’s
tests. Both the inline tests as well as stuff in t/.

I need to start adding tests to both RT and AT so it’s about
time I got this figured out.

-Todd

Could someone give me a quick a dirty summary of running RT’s
tests. Both the inline tests as well as stuff in t/.

I need to start adding tests to both RT and AT so it’s about
time I got this figured out.

./configure [options]

make regression

Having had a porblem with apache configuration in the past
when trying to do a make regression, would it be better for
regression to use standalone instead of apache?On Mon, Feb 21, 2005 at 01:27:16PM -0500, Jesse Vincent wrote:

On Mon, Feb 21, 2005 at 12:45:38PM -0500, Todd Chapman wrote:

Could someone give me a quick a dirty summary of running RT’s
tests. Both the inline tests as well as stuff in t/.

I need to start adding tests to both RT and AT so it’s about
time I got this figured out.

./configure [options]

make regression

-Todd


Rt-devel mailing list
Rt-devel@lists.bestpractical.com
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel

Having had a porblem with apache configuration in the past
when trying to do a make regression, would it be better for
regression to use standalone instead of apache?

Use whatever works well for you.

Nevermind…

make regression-noapacheOn Mon, Feb 21, 2005 at 01:02:16PM -0500, Todd Chapman wrote:

Having had a porblem with apache configuration in the past
when trying to do a make regression, would it be better for
regression to use standalone instead of apache?

On Mon, Feb 21, 2005 at 01:27:16PM -0500, Jesse Vincent wrote:

On Mon, Feb 21, 2005 at 12:45:38PM -0500, Todd Chapman wrote:

Could someone give me a quick a dirty summary of running RT’s
tests. Both the inline tests as well as stuff in t/.

I need to start adding tests to both RT and AT so it’s about
time I got this figured out.

./configure [options]

make regression

-Todd


Rt-devel mailing list
Rt-devel@lists.bestpractical.com
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel


Rt-devel mailing list
Rt-devel@lists.bestpractical.com
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel

Why are these run twice?

testify-pods:
[ -d lib/t/autogen ] || mkdir lib/t/autogen
find lib -name *pm |grep -v .svn | grep -v *.in |xargs -n 1 $(PERL) $(POD2TEST_EXE)
find bin -type f |grep -v .svn | grep -v ~ | grep -v “.in” | xargs -n 1 $(PERL) $(POD2TEST_EXE)
find lib -name *pm |grep -v .svn | grep -v *.in |xargs -n 1 $(PERL) $(POD2TEST_EXE)
find bin -type f |grep -v .svn | grep -v ~ | grep -v “.in” | xargs -n 1 $(PERL) $(POD2TEST_EXE)On Mon, Feb 21, 2005 at 01:43:23PM -0500, Jesse Vincent wrote:

On Mon, Feb 21, 2005 at 01:02:16PM -0500, Todd Chapman wrote:

Having had a porblem with apache configuration in the past
when trying to do a make regression, would it be better for
regression to use standalone instead of apache?

Use whatever works well for you.

It is safe to run individual tests? Or are there dependencies
between them. If it’s safe, what is the syntax?On Mon, Feb 21, 2005 at 01:27:16PM -0500, Jesse Vincent wrote:

On Mon, Feb 21, 2005 at 12:45:38PM -0500, Todd Chapman wrote:

Could someone give me a quick a dirty summary of running RT’s
tests. Both the inline tests as well as stuff in t/.

I need to start adding tests to both RT and AT so it’s about
time I got this figured out.

./configure [options]

make regression

-Todd


Rt-devel mailing list
Rt-devel@lists.bestpractical.com
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel

It is safe to run individual tests? Or are there dependencies
between them. If it’s safe, what is the syntax?

prove -I/opt/rt3/lib lib/t/testname

most of them will run standalone. Some of the tests may not run
standalone due to object counting issues. Patches which allow
tests to run standalone or repeatedly are appreciated