start reorganizing docs, write more docs, shift plugin docs, to proper documentation,

use sphinx, remove old docs ... work in progress.

--HG--
branch : trunk
This commit is contained in:
holger krekel
2010-10-10 23:45:45 +02:00
parent 854f6a98ae
commit 4ee3831ac9
82 changed files with 1673 additions and 3985 deletions

View File

@@ -0,0 +1,16 @@
def pytest_funcarg__setup(request):
return request.cached_setup(
setup=lambda: CostlySetup(),
teardown=lambda costlysetup: costlysetup.finalize(),
scope="session",
)
class CostlySetup:
def __init__(self):
import time
time.sleep(5)
self.timecostly = 1
def finalize(self):
del self.timecostly

View File

@@ -0,0 +1 @@
#

View File

@@ -0,0 +1,3 @@
def test_quick():
pass

View File

@@ -0,0 +1 @@
#

View File

@@ -0,0 +1,6 @@
def test_something(setup):
assert setup.timecostly == 1
def test_something_more(setup):
assert setup.timecostly == 1