Setup and Teardown

M

Mario Ruiz

I was wondering... There are so many different ways to setup and
teardown in the Test Cases thing!!!
So I thought maybe could be a very good idea to open a new topic about
that and people contribute with their ideas about how to implement the
setup and teardown in a typical test case.

Let's go.
 
T

Todd A. Jacobs

I was wondering... There are so many different ways to setup and
teardown in the Test Cases thing!!! So I thought maybe could be a very

Are there? I'm only aware of setup() and teardown(), which seem to
create a lot of overhead when running testcases that just contain
assertions without modifying anything.

What other ways are there of creating fixtures?
 
R

Ryan Davis

Are there? I'm only aware of setup() and teardown(), which seem to
create a lot of overhead when running testcases that just contain
assertions without modifying anything.

what overhead?
 
R

Ryan Davis


"dotnetguy", "csharp", 'clever' quips like "Setup and teardown methods
attract entropy faster than an outsource programmer with his first
patterns book"...

Lots of words, but... How is ANY of this applicable?

As far as I can tell, we've got setup, and teardown... and that's it.
No magic, just plain old ruby code.
 
A

ara.t.howard

I was wondering... There are so many different ways to setup and
teardown in the Test Cases thing!!!

by so many do you mean two? 1 - setup. 2 - teardown. ?
So I thought maybe could be a very good idea to open a new topic about
that and people contribute with their ideas about how to implement the
setup and teardown in a typical test case.

def setup
end

def teardown
end

??

a @ http://codeforpeople.com/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,270
Messages
2,571,352
Members
48,037
Latest member
BettinaArn

Latest Threads

Top