473,386 Members | 1,674 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Testing tools (and the creation of)...

Hello all,

I just want to throw this out here as an idea I have and wanted some input
and/or direction.

I am currently working as a software developer and we have run into an issue
with our automated testing. The tests are currently taking 2+ hours to run
on a single machine, and many of the tests are client-based through the
actual application.

We have started by breaking up the tests into groups that can then be run on
different machines, but the management is clumsy at best (set-up still takes
the same amount of time as on one machine, but of course once we get going,
the actual tests run in 1/5 of the time). The setup required to run the
full test suite can range from 10 minutes to 1/2 hr (database, xdoclet,
deploy, BEA Weblogic startup).

My thoughts were to tackle this in 2 phases:

Phase 1: The test scripts are served by an individual machine via a test
queue that any developer can create. The queue machine would take a
request, then pass on the next test in the queue. This would load balance
the tests, and make it much more scalable across several different machines.
In and of itself, not to large a prospect.

Phase 2: The queue machine will take as part of it's request the results of
a CVS diff command, pulling out the changed files. Queue gets set up as in
Phase 1, but the tests on the queue are only the tests that touch the
dependency tree of the modified files.

The problem with Phase 2 is that I would have to create a dependency tree,
which I think could be done via the imports of the changed files. It would
have to recursively go both up and down the tree (ie. and files used by the
modified files and their children, as well as any files that use the
modified files as well as their ancestors). This just screams compiler to
me, and short of re-inventing the wheel, I am looking for suggestion as to
whether or not there is anything (preferably open-source) that would have a
starting point for the creation of this dependency tree. If I can get a
jump on the dependencies, the actual serving of the tests is trivial.
I don't know if this is the appropriate place for this question as well, and
will gladly move it to anywhere it is deemed more appropriate, but it has
been a while since I've been in the groups.

Anyone who has a suggestion or can point me in the direction of a forum, it
would be much appreciated.
----
Michael Melvin, BMath
ma****@alumni.uwaterloo.ca
Jul 17 '05 #1
2 1532
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael Melvin wrote:

[snippage]
The problem with Phase 2 is that I would have to create a dependency
tree,
which I think could be done via the imports of the changed files.
It would have to recursively go both up and down the tree (ie. and
files used by the modified files and their children, as well as any
files that use the
modified files as well as their ancestors). This just screams
compiler to me, and short of re-inventing the wheel, I am looking
for suggestion as to whether or not there is anything (preferably
open-source) that would have a
starting point for the creation of this dependency tree. If I can
get a jump on the dependencies, the actual serving of the tests is
trivial.

[snippage]

Hi,
Dependencies. Yes, it DOES seem like something to be done by a
compiler, and, although I've never used it, I think IBM's Jikes can
generate dependencies. It says the dependencies it can generate are
intended for producing Makefiles, so I'm not sure if it actually goes
both up and down the tree, or if it only indicates those that use the
subject (not those it uses). Still, Jikes is open source, so maybe
you could hack it.
- --
Chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/ssV6wxczzJRavJYRAmKBAJ9UfdZdsJR0PiCNdjiyjVJf73Gqzg CfdtUK
H+mne7KOeH5P3tuX7uSxtAo=
=mAWs
-----END PGP SIGNATURE-----
Jul 17 '05 #2
Apache Ant (ant.apache.org) has a task/structure called 'Depend' that
does pretty much what you want.

[snippage]
The problem with Phase 2 is that I would have to create a dependency
tree,
which I think could be done via the imports of the changed files.
It would have to recursively go both up and down the tree (ie. and
files used by the modified files and their children, as well as any
files that use the
modified files as well as their ancestors). This just screams
compiler to me, and short of re-inventing the wheel, I am looking
for suggestion as to whether or not there is anything (preferably
open-source) that would have a
starting point for the creation of this dependency tree. If I can
get a jump on the dependencies, the actual serving of the tests is
trivial.

[snippage]

Hi,
Dependencies. Yes, it DOES seem like something to be done by a
compiler, and, although I've never used it, I think IBM's Jikes can
generate dependencies. It says the dependencies it can generate are
intended for producing Makefiles, so I'm not sure if it actually goes
both up and down the tree, or if it only indicates those that use the
subject (not those it uses). Still, Jikes is open source, so maybe
you could hack it.
- --
Chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/ssV6wxczzJRavJYRAmKBAJ9UfdZdsJR0PiCNdjiyjVJf73Gqzg CfdtUK
H+mne7KOeH5P3tuX7uSxtAo=
=mAWs
-----END PGP SIGNATURE-----

Jul 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Von Shean | last post by:
Are there any tools from microsoft or any 3rd party in the following catagories 1. Functional Client/Server Testing 2. Functional Web Testing 3. Web Load Testing 4. DB Load Testing In dotNet...
8
by: Michael van der Veeke | last post by:
Hi All, Does anyone use any regression testing tools with MS Access? We have tried a few and none seem to work very well with a MS Access Front end and I need one. Can anyone provide any...
1
by: Doug | last post by:
Hello, I was wondering if someone had an idea of good unit testing tools out there. I have looked at NUnit and HarnessIt and they both have good and bad sides to them, but mainly we are looking...
14
by: | last post by:
Hi! I'm looking for unit-testing tools for .NET. Somthing like Java has --> http://www.junit.org regards, gicio
15
by: Enrique | last post by:
Question I am posting this question again (3rd time) because some issues with my no spam alias. Here it is the question: I have not been able to run unit tests for a VSTO (2005) project. I...
44
by: John A. Bailo | last post by:
Dr. Dobbs has a /glowing/ article on Ruby on Rails this month. What do you guys think? Can it replace .net, php and java? And be the Open Source OOP web solution that is not bound to Sun or...
0
by: jasonjones.itmaster | last post by:
A large variety of testing tools available. Providing in depth analysis for software testing tools that how you can expert in using any testing tool for software testing. Have a look and take...
6
by: Nasif | last post by:
Hello all, Currently we are developing a multi threaded application in C on linux platform. For our application we have designed a wrapper on pthread library. Now I need some free testing...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.