github.com/upcmd/up@v0.8.1-0.20230108151705-ad8b797bf04f/tests/modtests/mcasec_test.go (about) 1 // Ultimate Provisioner: UP cmd 2 // Copyright (c) 2019 Stephen Cheng and contributors 3 4 /* This Source Code Form is subject to the terms of the Mozilla Public 5 * License, v. 2.0. If a copy of the MPL was not distributed with this 6 * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ 7 8 package functests 9 10 import ( 11 "github.com/upcmd/up/biz/impl" 12 "github.com/upcmd/up/tests" 13 u "github.com/upcmd/up/utils" 14 "path" 15 "testing" 16 ) 17 18 func TestC(t *testing.T) { 19 dirs := tests.GetModuleTestCollection() 20 21 for _, x := range dirs { 22 u.Pln("==testing:", x, "==") 23 cfg := tests.SetupMx(path.Join(x)) 24 t := impl.NewTasker("dev", "", cfg) 25 t.ExecTask("Main", nil, false) 26 t.Unset() 27 } 28 }