473,320 Members | 1,990 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,320 software developers and data experts.

automation testing for c using tcl/tk

19
hi all,

I want to do automation testing using tcl/tk for the complete code of c. I have to automate the complete control flow of the project based on c. The project is basically have strong relationship with structures pointers, buffers, double pointers. I know the tcl/tk some what. But i dont know how to do automation with it. let me know th requirements for it. Inform me the merits and demerits of tcl/tk.

would any one help me out. Awaiting for your reply.
Jul 25 '07 #1
4 3182
weaknessforcats
9,208 Expert Mod 8TB
I ran Google on tcl/tk and got 1,540,000 web pages.

I suggest you start there.
Jul 25 '07 #2
ravenspoint
111 100+
That's cruel, weaknessforcats.

The place to start is with the tcl package tcltest, which comes with the standard distribution.

This is a very easy to use, powerful and flexible automatic test package for programs with a command line interface. I use it all for my regression testing. It is so useful that, even if your program is naturally a GUI, it is wo=rthwhile adding a command line interface.

here is the first page of the manual:

The tcltest package provides several utility commands useful in the construction of test suites for code instrumented to be run by evaluation of Tcl commands. Notably the built-in commands of the Tcl library itself are tested by a test suite using the tcltest package.

All the commands provided by the tcltest package are defined in and exported from the ::tcltest namespace, as indicated in the SYNOPSIS above. In the following sections, all commands will be described by their simple names, in the interest of brevity.

The central command of tcltest is [test] that defines and runs a test. Testing with [test] involves evaluation of a Tcl script and comparing the result to an expected result, as configured and controlled by a number of options. Several other commands provided by tcltest govern the configuration of [test] and the collection of many [test] commands into test suites.

See CREATING TEST SUITES WITH TCLTEST below for an extended example of how to use the commands of tcltest to produce test suites for your Tcl-enabled code.
Jul 25 '07 #3
weaknessforcats
9,208 Expert Mod 8TB
That's cruel, weaknessforcats.
That's about all I could do. I tend to hang around Windows so a lot of Unix/Linux is not familiar. I know some but I shallow out pretty quick.
Jul 25 '07 #4
ravenspoint
111 100+
I tend to hang around Windows so a lot of Unix/Linux is not familiar.
FYI, tcl works very well on MSWindows - that's what I use.
Jul 25 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: calfdog | last post by:
PAMIE 1.50 released!! Now with Frames suport Why wait, when you could be using this to Automate now!... It's Free!!! http://pamie.sourceforge.net ...
1
by: Jimmer | last post by:
I've got what should be an easy automation problem, but the solution simply isn't coming to me. I've got several public variables set up for automation as follows: Public gappExcel As...
1
by: Lee Seung Hoo | last post by:
hi~ :) I need all information of "Automation" or "Automation Object" what is that ? why is it useful ? How can I use that by C# or .Net Framework ?
7
by: Franck | last post by:
Hi, I'm using an xls file through my web service to print out a pdf file from which I returned path. In this way, got a macro in my XLS file which do the print out. Testing it from the xls file...
12
by: elziko | last post by:
I'm using late binding (I must) to automate Excel. My code opens Excel after createing and poulating some sheets. My problem is that when the user finally decides to close Excel its process is...
9
by: Chubbly Geezer | last post by:
Hope you can help. I have created a mail merge word doc which seems to work fine. When I close and reload it asks if I wish to pull in the data. Great. However, I want to print the results of...
0
by: Sharath | last post by:
Quality Globe is Glad to Offer you the Fast Track course on Automation, QTP Basics and Advanced, and Quality Center Starting Date: June 4th, 2007 Timings: 10 AM to 3:30 PM Duration: 50 Hours ...
0
by: mam | last post by:
Basic Qualifications: US Citizen Required onsite Chantilly, VA *3+ years of Software Testing hands on experience. *3+ years of QTP automation experince. *QTP Certification Required for Position ...
1
by: sherifffruitfly | last post by:
Hi all, I want to write up a test automation class library for our in-house app, which I've never done before. The app is functionally a 2-tier GUI-datalayer one, and I basically want to...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.