Do we need to use tptp junit plugin test? [message #75012] |
Fri, 23 June 2006 04:44 |
Ben.Xu Messages: 11 Registered: July 2009 |
Junior Member |
|
|
After tried eclipse TPTP junit plugin test for sometime.I am wondering
why we need to use this tool for our purpose.
what we want?
We develop lots of eclipse plugin for our own system use. Our
platform is linux. Currently we use eclipse 3.1.1. We will move to newer
eclipse version later on.
We want a eclipse plugin unit test framework. We will use it to run
headless unit test for our developed eclipse plugin.(In fact script for
headless eclipse plugin unit test is integrated to our main script.) After
running the script , a unit test result need to be generated. The result
need information about the overall pass/fail and detailed pass/fail for
each testcase. we don't case about the format of the result. Even txt
files will be ok.
Our system don't work in distributed environment. In fact,the eclipse
execution environment of our system is just one linux server. We just need
to start one eclipse process and do everything inside it.The exectution
environment for eclipse, like java path, workspace and others are all
fixed.
what tptp provide for our demands?
After I learn eclipse tptp for sometime. I can't persuade myself into
using tptp.
We can use tptp's test service to headless run unit test(RAServer is
needed )We need to parse the output execution file to show the result.
TPTP doesn't provides anything for easier to write testcase but some
simple invocation and loop, which is too simple. (maybe,I don't know some
good function for our demand, If anyone here can list some good functions
TPTP plugin unit test have, please tell me)
Other choices:
IN fact, the eclipse platform develop team using eclipse test
framework to headless test plugin unit test case. see
http://download.eclipse.org/eclipse/downloads/drops/R-3.1.2- 200601181600/testframework.html
for more information.
The plugin is much easier too use and more flexiable and less bugs,
since the testcase is pure junit testcase.
Questions?
1。 For the demand i stated before, is it necessary to use
tptp
2. What's used in you project team for headless plugin unit test
for real projects.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03995 seconds