This patch removes the Runnable interface and replaces it with
Suite struct.
There are two main changes:
Scenarios or unique Scenarios can be represented in a suite that
contains only that scenario.
gdt.From now returns concrete object instead of a Runnable
interface. Making it easier to predict the returned type - and
advocates for modeling all tests as suites.
This patch removes the
Runnable
interface and replaces it withSuite
struct.There are two main changes:
Scenarios
or uniqueScenarios
can be represented in a suite that contains only that scenario.gdt.From
now returns concrete object instead of aRunnable
interface. Making it easier to predict the returned type - and advocates for modeling all tests as suites.