github.com/netdata/go.d.plugin@v0.58.1/agent/discovery/file/discovery_test.go (about)

     1  // SPDX-License-Identifier: GPL-3.0-or-later
     2  
     3  package file
     4  
     5  import (
     6  	"testing"
     7  
     8  	"github.com/stretchr/testify/require"
     9  )
    10  
    11  // TODO: tech dept
    12  func TestNewDiscovery(t *testing.T) {
    13  
    14  }
    15  
    16  // TODO: tech dept
    17  func TestDiscovery_Run(t *testing.T) {
    18  
    19  }
    20  
    21  func prepareDiscovery(t *testing.T, cfg Config) *Discovery {
    22  	d, err := NewDiscovery(cfg)
    23  	require.NoError(t, err)
    24  	return d
    25  }