Fitnesse: How to run specific tests in multiple test suites

We use Fitnesse [FitSharp], and we have a requirement for a single conformance test that will invoke and run individual tests that span multiple sets.

I know that we can put it in a batch file and run separate tests there

C: \ Fitnesse \ dotnet4 \ Runner.exe -r fitnesse.fitserver.TestRunner, C: \ fitnesse \ dotnet4 \ fit.dll localhost 8090 Suite1.Level2.PartialUpdateTest

C: \ Fitnesse \ dotnet4 \ Runner.exe -r fitnesse.fitserver.TestRunner, C: \ fitnesse \ dotnet4 \ fit.dll localhost 8090 Suite1.Level1.FullUpdateTest

etc.

but prefers to save the configuration of this in a compliance testing environment

What we have in mind is the only Fit Test [Regression Suite] that will serve as a container for other suitable tests. [Fit Bookmark Container if you do]

local:. 8090 \ Regression.RunAllFastCoreTestsAcrossAllSuites

We do not want to follow the path of creating copies of individual tests in existing sets and are not a reorganization of the existing set structure. The regression set is likely to be regularly updated as new tests are developed.

Any thoughts?

Thanks in advance,

Liam

+5
source share
2 answers

Do you consider using Suite tags for this? Suite tags allow you to mark tests for specific purposes. Then you can use Suite Filters when running tests

http://localhost:8080/FrontPage?suite&suiteFilter=Regression

. http://fitnesse.org/FitNesse.FullReferenceGuide.UserGuide.WritingAcceptanceTests.TestSuites.TagsAndFilters.

, , .

+4

! ., , , :

!see Suite1.Level2.PartialUpdateTest
!see Suite1.Level1.FullUpdateTest

. http://fitnesse.org/FitNesse.FullReferenceGuide.UserGuide.FitNesseWiki.MarkupLanguageReference.MarkupCrossReference

+4

All Articles