Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

sUnit in VAST::Debugging a case::how to tearDown correctly
Hi there,

I've recently been using sUnit in VW a lot and am coming back to VAST
and trying to use sUnit as much there.

Apart from the fact that I miss the feaure of the test runner being in
the class browser, I have another question:

When I debug a failing test, I got used to simply resume the test in VW,
and this would call #tearDown as expected. Thus, all my file streams get
closed etc.

In VAST, a failed assertion is not a resumable exception, as far as I
can tell right now. So I can't resume the test after a fail and trust
sUnit to clean up properly.

Do I have to write my tests differently in VAST, in order to be able to
resume a failed #assert:, or are there any settings in sUnit that I can
change?

I am using VAST 7.5.2, if that matters...

Thanx and cu

Joachim

Report this thread to moderator Post Follow-up to this message
Old Post
Joachim Tuchel
03-30-08 10:16 AM


Re: sUnit in VAST::Debugging a case::how to tearDown correctly
Having taken a second look, I can probably answer my question: there is
an #assert:description:resumable

Well, seems like I need to get used to type a lot more ;-)

This leads me to another question: is there a certain reason for this
difference between VA and VW? Without having dug deeper into VWs sUnit,
it seems #assert: defaults to firing resumabe exceptions, while in VAST
they are not resumable.

Regards

Joachim

Report this thread to moderator Post Follow-up to this message
Old Post
Joachim Tuchel
03-30-08 10:16 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Smalltalk archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 03:15 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.