Refactoring #1526

replace "FunctionalTest" by more specific terms in several test machinery classes

Added by wuttke over 3 years ago. Updated over 3 years ago.

Status:ArchivedStart date:21 Jul 2016
Priority:NormalDue date:
Assignee:wuttke% Done:

0%

Category:-
Target version:Sprint32

Description

CoreTestSuite and GUITestSuite reside under Test/Functional, and inherit from FunctionalTestSuite.
They take a subtest name as argument, look it up in FunctionalTestRegistry, and retrieve a FunctionalTestInfo.
Using this, they retrieve a CoreTest or GUITest, which inherits from IFunctionalTest.

This overuses the term "FunctionalTest", and obscures the architecture.

Note that FitTestSuite is also a suite of functional tests, but does not inherit from FunctionalTestSuite.

Proposal:
CoreTestSuite and GUITestSuite reside under Test/Functional, and inherit from StandardSimulationTestSuite.
They take a subtest name as argument, look it up in StandardSimulationRegistry, and retrieve a SimulationInfo.
Using this, they retrieve a CoreTest or GUITest, which inherits from IFunctionalTest.

History

#1 Updated by wuttke over 3 years ago

  • Status changed from New to Sprint
  • Assignee set to wuttke
  • Target version set to Sprint32

#2 Updated by wuttke over 3 years ago

And rename FooTestSuite -> FooStandardTest, because it does not run a suite of tests, but one single test, taken from a standard simulation suite.

So current proposal:
FooStandardTest inherits from IStandardTest. Takes a standard simulation name as argument, looks it up in StandardSimulationsRegistry, and retrieves SimulationInfo. Using this, retrieves a FooTest, which inherits from IFunctionalTest.

#3 Updated by wuttke over 3 years ago

  • Status changed from Sprint to Resolved

Resolved in f5720767e.

#4 Updated by herck over 3 years ago

  • Status changed from Resolved to Archived

Also available in: Atom PDF