embedded systems developers tools, cross compilers
  Home  |   SwiftX Archive  |   SwiftForth Archive  |

Re: Test automation

From: Appert, Kevin <kevin.appert_at_lmco.com>
Date: Tue, 21 Jan 2003 15:19:26 -0800

How to reply: Use your email client's "Reply All" function to reply to the
entire list (preferred). Use "Reply" for a private reply to the sender.
--------------------------------------------------------------------------

You can write words on the HOST that do what you want as long as the
host-side requirements aren't to steep. Look at the documentation for HOST
and TARGET. You can make a : definition to step through whatever sequence
you wish and produce a Session Log or hard copy.

Assume your requirement is beyond the scope of the SwiftX development
system, at least on the PC side. Maybe Leon might say a word or two about
that. SwiftX is intended to build an application on the target and not the
application on the PC. You'll then build a little application for your
target with a command interpreter in the target. Send an ASCII 'A' down the
serial port, you read it in with the serial port KEY and sort it out with a
CASE statement. You run the A test and send the results back with TYPE or
EMIT.
Then you write a program on the PC to send your As and Bs and read back your
results and log them to disk or print or whatever. This is in SwiftForth
rather than in the SwiftX environment for preference but you could do it in
FPC if you're really strapped for cash.

Then you put in all the error checking and exception handling etc. to make
it a real application instead of a toy.

> -----Original Message-----
> From: Noel Henson [SMTP:noel_at_noels-lab.com]
> Sent: Tuesday, January 21, 2003 2:17 PM
> To: swiftx_at_forth.com
> Subject: [swiftx] Test automation
>
> How to reply: Use your email client's "Reply All" function to reply to the
> entire list (preferred). Use "Reply" for a private reply to the sender.
> --------------------------------------------------------------------------
>
> Is there a way I can run a progam in the interpreter to call individual
> functions in the target as a human does? For example, I need to run
> certain tests, and print their reports on a printer. I'd like to have a
> program running in the SwiftX compiler that would call target tests and
> report their results on the local printer. With all that can be done
> with your tools I can only guess that I can do it. I just don't know how.
>
> Thanks in advance!
> Noel
>
> ----------------------------------------------------------------------
> swiftx_at_forth.com The SwiftX programming discussion email list
> To unsubscribe, send subject "unsubscribe swiftx" to listar_at_forth.com
> For help with listar commands, send subject "help" to listar_at_forth.com
> Archives are located at http://www.forth.com/swiftx -- check them out!
> ----------------------------------------------------------------------
> THIS LIST IS NOT FOR BUG REPORTS! Send bug reports to support_at_forth.com.
----------------------------------------------------------------------
swiftx_at_forth.com The SwiftX programming discussion email list
To unsubscribe, send subject "unsubscribe swiftx" to listar_at_forth.com
For help with listar commands, send subject "help" to listar_at_forth.com
Archives are located at http://www.forth.com/swiftx -- check them out!
----------------------------------------------------------------------
THIS LIST IS NOT FOR BUG REPORTS! Send bug reports to support_at_forth.com.
Received on Tue Jan 21 2003 - 15:19:06 PST

This archive was generated by hypermail 2.2.0 : Mon Dec 01 2008 - 03:04:47 PST