Is there some way (using the standard Django.test.TestCase framework) to perform a global initialization of certain variables, so that it only happens once.
Putting things setUp() makes it so that the variables are initialized before each test, which kills performance when the setup involves expensive operations. I'd like to run a setup type feature once, and then have the variables initialized here be visible to all my tests.
I'd prefer not to rewrite the test runner framework.
I am thinking of something similar to a before(:all) in the Ruby/RSpec world.
-S