github.com/gnolang/gno@v0.0.0-20240520182011-228e9d0192ce/gnovm/cmd/gno/testdata/gno_test/skip.txtar (about) 1 # Test skipping a test 2 3 gno test -v . 4 5 ! stdout .+ 6 stderr 'Hey' 7 stderr 'I.m on strike!' 8 ! stderr 'this shouldn.t print' 9 stderr '--- SKIP: TestSkip' 10 stderr 'ok ' 11 12 -- skip.gno -- 13 package skip 14 15 -- skip_test.gno -- 16 package skip 17 18 import "testing" 19 20 func TestSkip(t *testing.T) { 21 t.Log("Hey") 22 t.Skip("I'm on strike!") 23 t.Log("so this shouldn't print") 24 }