Ticket #176 (new enhancement)

Opened 12 months ago

Last modified 4 months ago

Global setup and tear down

Reported by: fcohen Owned by: llara@…
Priority: major Milestone:
Version: 5.3 Keywords:
Cc:

Description (last modified by fcohen) (diff)

There is no global SetUp? or TearDown? mechanism in TestMaker. A global SetUp? method would run a method once at the start of a TestScenario.

The following is a proposed syntax to define a global SetUp? method in a TestScenario.

<loadtest>

<testusecase>

<dimensions>

<!-- Concurrent request levels for each TestNode --> <crlevels>

<crlevel value="10"/> <crlevel value="20"/>

</crlevels>

<setUp module="frankmodule" name="test1" testclass="franktest" method="setUp" langtype="jython"/>

<usecases>

<usecase name="Examples_usecase">

<sequence name="Examples_sequence" proportion="100">

<test>

<run module="frankmodule" name="test1" testclass="franktest"

method="runTest" langtype="jython"/>

</test>

</sequence>

</usecase>

</usecases>

< tearDown module="frankmodule" name="test1" testclass="franktest" method="tearDown" langtype="jython"/>

</dimensions>

</testusecase>

</loadtest>

Change History

Changed 12 months ago by fcohen

  • description modified (diff)

Changed 12 months ago by fcohen

  • description modified (diff)

Changed 12 months ago by fcohen

  • priority changed from major to minor
  • summary changed from Global setup and tearn down to Global setup and tear down

Changed 11 months ago by fcohen

  • priority changed from minor to major

Changed 9 months ago by fcohen

  • version changed from 5.1 to 5.2

Changed 4 months ago by fcohen

  • version changed from 5.2 to 5.3
Note: See TracTickets for help on using tickets.