@@ -31,6 +31,7 @@ import (
3131 "github.com/murex/gamekit-coffeemachine/progress/iteration3"
3232 "github.com/murex/gamekit-coffeemachine/progress/iteration4"
3333 "github.com/murex/gamekit-coffeemachine/progress/iteration5"
34+ "github.com/murex/gamekit-coffeemachine/settings"
3435 "log"
3536 "os"
3637 "strconv"
@@ -54,11 +55,6 @@ type Context struct {
5455
5556var ctx Context
5657
57- // IterationTestRunner provides the interface to be implemented by each iteration test runner
58- //type IterationTestRunner interface {
59- // TestMain(p *process.P) func(t *testing.T)
60- //}
61-
6258// TestMain is the main function when running go test
6359func TestMain (m * testing.M ) {
6460 setup ()
@@ -68,6 +64,7 @@ func TestMain(m *testing.M) {
6864}
6965
7066func setup () {
67+ infoLog .Println ("starting progress runner" , settings .BuildVersion )
7168 proc := startImplementationProcess ()
7269 ctx = Context {
7370 process : proc ,
@@ -121,6 +118,7 @@ func stopImplementationProcess(proc *process.P) {
121118
122119// Test_Progress is the entry point for running all tests for all iterations
123120func Test_Progress (t * testing.T ) {
121+ t .Log ("progress runner version" , settings .BuildVersion )
124122 t .Log ("testing implementation progress on coffee machine" )
125123 if ctx .iteration == NoIteration {
126124 t .Skipf ("skipping progress tests (implementation not ready)" )
0 commit comments