Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Forth > Forth Testing T...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 25 Topic 3778 of 4136
Post > Topic >>

Forth Testing Tools?

by Josh Grams <josh@[EMAIL PROTECTED] > Feb 24, 2008 at 09:52 AM

Are there other Forth testing tools out there?

I've tried using the Hayes tester a couple of times.  I like the
syntax
and simplicity, but its failure messages are just useless.  If I have
to
go back and insert debug statements and re-run the tests to figure out
what actually went wrong, why bother using it at all?  I might as well
just write ad-hoc test code and shove it in a file.

I want something that (at least) displays the actual and expected
stack
contents, and preferably something that can be extended to deal with
strings or other data.  I'd love to be able to do:

T{ 1 2 3 => 1 5 }T
T{ s" abcdef" 2 /string => s" def" }( string )T

And see:

T{ 1 2 3 => 1 5 }T
Returned: <3> 1 2 3
Expected: <2> 1 5

T{ s" abcdef" 2 /string => s" def" }( string )T
Returned: <2> $8070938 4 ("cdef")
Expected: <2> $8070948 3 ("def")

Anybody have something like that, or should I roll my own?

--Josh
 




 25 Posts in Topic:
Forth Testing Tools?
Josh Grams <josh@[EMAI  2008-02-24 09:52:46 
Re: Forth Testing Tools?
anton@[EMAIL PROTECTED]   2008-02-24 21:10:47 
Re: Forth Testing Tools?
Dennis Ruffer <druffer  2008-02-24 23:43:04 
Re: Forth Testing Tools?
Albert van der Horst <  2008-02-25 02:39:41 
Re: Forth Testing Tools?
"Ed" <nospam  2008-02-25 23:52:59 
Re: Forth Testing Tools?
Krishna Myneni <krishn  2008-02-26 18:20:56 
Re: Forth Testing Tools?
Albert van der Horst <  2008-02-27 12:54:24 
Re: Forth Testing Tools?
"Ed" <nospam  2008-02-28 12:18:53 
Re: Forth Testing Tools?
Krishna Myneni <krishn  2008-02-28 08:13:40 
Re: Forth Testing Tools?
"Ed" <nospam  2008-03-01 13:21:06 
Re: Forth Testing Tools?
anton@[EMAIL PROTECTED]   2008-02-27 21:05:32 
Re: Forth Testing Tools?
Josh Grams <josh@[EMAI  2008-02-25 07:40:19 
Re: Forth Testing Tools?
Charles Turner <vze26m  2008-02-26 04:14:03 
Re: Forth Testing Tools?
Gerry <gerry@[EMAIL PR  2008-02-26 09:47:07 
Re: Forth Testing Tools?
Josh Grams <josh@[EMAI  2008-02-26 18:46:51 
Re: Forth Testing Tools?
Krishna Myneni <krishn  2008-02-26 21:57:00 
Re: Forth Testing Tools?
Dennis Ruffer <druffer  2008-02-27 19:18:04 
Re: Forth Testing Tools?
Josh Grams <josh@[EMAI  2008-04-04 02:13:35 
Re: Forth Testing Tools?
Josh Grams <josh@[EMAI  2008-02-28 06:17:39 
Re: Forth Testing Tools?
Albert van der Horst <  2008-02-28 17:23:48 
Re: Forth Testing Tools?
Dennis Ruffer <druffer  2008-02-28 17:34:10 
Re: Forth Testing Tools?
Josh Grams <josh@[EMAI  2008-02-28 10:38:27 
Re: Forth Testing Tools?
Josh Grams <josh@[EMAI  2008-02-28 10:54:29 
Re: Forth Testing Tools?
Dennis Ruffer <druffer  2008-03-01 17:24:22 
Re: Forth Testing Tools?
Dennis Ruffer <druffer  2008-03-01 18:26:51 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Jul 9 5:51:50 CDT 2008.