From af8395298423366feb5c872c770371beb5887285 Mon Sep 17 00:00:00 2001 From: Max Leske <250711+theseion@users.noreply.github.com> Date: Thu, 19 Sep 2024 09:14:42 +0200 Subject: [PATCH] chore: apply review suggestions --- .../instance/testResourcesSetupOnce.st | 3 +++ 1 file changed, 3 insertions(+) diff --git a/repository/SmalltalkCI-Pharo-Tests.package/SCIPharoTestSuiteNestingTest.class/instance/testResourcesSetupOnce.st b/repository/SmalltalkCI-Pharo-Tests.package/SCIPharoTestSuiteNestingTest.class/instance/testResourcesSetupOnce.st index 5a3ea89f..a514a625 100644 --- a/repository/SmalltalkCI-Pharo-Tests.package/SCIPharoTestSuiteNestingTest.class/instance/testResourcesSetupOnce.st +++ b/repository/SmalltalkCI-Pharo-Tests.package/SCIPharoTestSuiteNestingTest.class/instance/testResourcesSetupOnce.st @@ -4,6 +4,9 @@ testResourcesSetupOnce In Pharo, some test runners nest suites and currently test resources are not properly handled in that case, i.e., test resources would be instantiated once per test class (usually)." + self assert: SCIDummyPharoTestResource setUpCounter isNil. + self assert: SCIDummyPharoTestResource tearDownCounter isNil. + SmalltalkCI testRunnerClass runSpec: (SCIDummySpec forClasses: { SCIPharoTestSuiteNestingTestCase1. SCIPharoTestSuiteNestingTestCase2 }).