commander-cli / commander

Test your command line interfaces on windows, linux and osx and nodes viá ssh and docker
MIT License
226 stars 19 forks source link

Change []runtime.TestCase in Suite to an array of pointers #170

Closed dylanhitt closed 2 years ago

dylanhitt commented 3 years ago

Discussed in #163. suite.Suite should be changed too:

type Suite struct {
    TestCases []*runtime.TestCase
    Config    runtime.GlobalTestConfig
    Nodes     []runtime.Node
}

This would simplify iterating through test cases suite.mergeTestConfigs().