News
2008-11-19
XStudio and XAgent v0.6a4 available for download for Windows, Linux and MacOSX
2008-10-20
XStudio and XAgent v0.6a3 available for download for Windows, Linux and MacOSX
2008-10-12
XStudio and XAgent v0.6a2 available for download for Windows, Linux and MacOSX
2008-10-05
XStudio and XAgent v0.6a1 available for download for Windows, Linux and MacOSX
2008-09-07
XStudio and XAgent v0.5 available for download for Windows, Linux and MacOSX
2008-06-01
XStudio and XAgent v0.4 (final version) available for download for Windows, Linux and MacOSX

Subscribe to XQual News RSS feed Subscribe RSS
Privacy
Terms of use

Fully qualified tests

The problem

Test developpers are often led to make specific tests part of one "category". For instance, one common practice is to have tests organized in the following categories:
  • unit
  • smoke
  • functionnal
  • stress/load
  • negative
  • positive
  • back box
  • white box
  • integration
  • and more...
but managing the tests this way can rapidly become a headache because it's often not easy to determine which "category" is the most appropriate. Even worst, tests could often be part of several categories (i.e. some of the negative tests will be some stress/load tests, white box tests can also be negative etc.)

The fix

XStudio provides a far more flexible way of "qualifying" tests by using "properties" so that you don't need to make difficult choices; you just need to associated your tests with a set of properties. These properties are not only String typed but can be Integer or Boolean.

test attributes
Then, when building a test campaign, you can filter your tests on these properties before scheduling/running them.

filter settings


test filtering


This mechanism is extremey powerful if your tests are appropriately "qualified". For instance, if you set an integer property to your test indicating the estimated time to execute it completely, then, you are able to create a test suite composed only from tests taking less than x seconds to execute. This is a simple example. Filters can be extermly complex and powerful.