Tennis may be misunderstanding the difference between what we (here in my
organization) call a "test framework", which drives the automated execution
of testcases and captures/reports the results, and a test "harness", i.e. a
tool which provides libraries of functions and an infrastructure for
writing and running tests. I've seen several people who are new to
STAF/STAX who don't understand that distinction and think that STAF/STAX
provide the whole thing. They are mistaken.

STAF and STAX (and STAX code that you write) can be used to implement a
very robust test "framework".

Other tools, like JUnit, Selenium, Rational Functional Tester, shell
scripts, xUnit, or any number of other commercial or open-source products,
can be used to provide the "test harness".

...then, the test "framework" can be set up to execute your test
"harness" (e.g. by running a command on a test machine) to run your tests
and capture the results.

All of this can work together very smoothly to provide the mechanics behind
test-driven development. In fact that's exactly the way my organization
does it, and STAF and STAX are a cornerstone of our process.

---------------------------------------------------------------------------------------

Joe Veilleux
IBM/Lotus Domino Server Quality Engineering
550 King Street
Littleton MA 01460
Email: joeveill...@us.ibm.com




From:   Sharon Lucas/Austin/IBM@IBMUS
To:     Tennis Smith <tennis_sm...@yahoo.com>,
Cc:     staf-users@lists.sourceforge.net
Date:   03/25/2013 05:16 PM
Subject:        Re: [staf-users] Test-Driven Development (TDD) for STAX?



I don't really understand your question.  Test-Driven Development (TDD)
basically means you first write an automated unit test case that defines a
desired improvement or net function, and then produce the minimum amount of
code to pass that test, and finally refactor the new code to acceptable
standards, and repeat.  You can write the test in whatever testing
framework is appropriate to the software environment.  STAF/STAX can be a
very effective testing framework to do this.

--------------------------------------------------------------
Sharon Lucas
IBM Austin,   luc...@us.ibm.com
(512) 286-7313 or Tieline 363-7313




From:        Tennis Smith <tennis_sm...@yahoo.com>
To:        staf-users@lists.sourceforge.net,
Date:        03/24/2013 12:45 PM
Subject:        [staf-users] Test-Driven Development (TDD) for STAX?



Hi,

I'm trying to figure out a way to use TDD when working with STAX/Jython.

So far, the only thing that looks feasible is to keep most logic in
external python files and use pyUnit. There doesn't appear to be any easy
way to run xUnit tests on the stax xml file contents.

Is this correct?

--
Tks,
-Tennis
------------------------------------------------------------------------------

Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users
------------------------------------------------------------------------------

Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

<<inline: graycol.gif>>

------------------------------------------------------------------------------
Own the Future-Intel&reg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to