-
Notifications
You must be signed in to change notification settings - Fork 744
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add test for tests. #4063
base: master
Are you sure you want to change the base?
Add test for tests. #4063
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package adapterstest | ||
|
||
import "testing" | ||
|
||
// TODO: Add real tests and remove this file | ||
func TestDummy(t *testing.T) { | ||
t.Skip("Ensure that at least one real test exists") | ||
} |
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This directory only contains a single line abstraction around the default http client. There is no need for tests. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package clients | ||
|
||
import ( | ||
"testing" | ||
|
||
"github.com/stretchr/testify/assert" | ||
) | ||
|
||
func TestGetDefaultHttpInstance(t *testing.T) { | ||
assert.NotNil(t, GetDefaultHttpInstance()) | ||
} |
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This directory only contains data models and interfaces. There is nothing to test. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package analytics | ||
|
||
import "testing" | ||
|
||
// TODO: Add real tests and remove this file | ||
func TestDummy(t *testing.T) { | ||
t.Skip("Ensure that at least one real test exists") | ||
} |
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This directory only contains data models. There is nothing to test. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package entities | ||
|
||
import "testing" | ||
|
||
// TODO: Add real tests and remove this file | ||
func TestDummy(t *testing.T) { | ||
t.Skip("Ensure that at least one real test exists") | ||
} |
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This could benefit from tests for some types like |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package hookstage | ||
|
||
import "testing" | ||
|
||
// TODO: Add real tests and remove this file | ||
func TestDummy(t *testing.T) { | ||
t.Skip("Ensure that at least one real test exists") | ||
} |
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This directory only contains optional pre-build scripts. There is nothing to test. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package generator | ||
|
||
import "testing" | ||
|
||
// TODO: Add real tests and remove this file | ||
func TestDummy(t *testing.T) { | ||
t.Skip("Ensure that at least one real test exists") | ||
} |
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This directory only contains data models. There is nothing to test. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package moduledeps | ||
|
||
import "testing" | ||
|
||
// TODO: Add real tests and remove this file | ||
func TestDummy(t *testing.T) { | ||
t.Skip("Ensure that at least one real test exists") | ||
} |
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This directory only contains Google Captcha code for the opt-out form. Tests should be possible, just will be complicated with emulating http responses and html form processing. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package pbs | ||
|
||
import "testing" | ||
|
||
// TODO: Add real tests and remove this file | ||
func TestDummy(t *testing.T) { | ||
t.Skip("Ensure that at least one real test exists") | ||
} |
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This directory only contains test helper methods There is nothing to test. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package cachestest | ||
|
||
import "testing" | ||
|
||
// TODO: Add real tests and remove this file | ||
func TestDummy(t *testing.T) { | ||
t.Skip("Ensure that at least one real test exists") | ||
} |
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This directory implements a no-op cache. There is nothing to test. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package nil_cache | ||
|
||
import "testing" | ||
|
||
// TODO: Add real tests and remove this file | ||
func TestDummy(t *testing.T) { | ||
t.Skip("Ensure that at least one real test exists") | ||
} |
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This directory abstracts a random generator specifically for reliable tests. There is nothing to test. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package randomutil | ||
|
||
import "testing" | ||
|
||
// TODO: Add real tests and remove this file | ||
func TestDummy(t *testing.T) { | ||
t.Skip("Ensure that at least one real test exists") | ||
} |
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This directory abstracts a the clock specifically for reliable tests. There is nothing to test. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package timeutil | ||
|
||
import "testing" | ||
|
||
// TODO: Add real tests and remove this file | ||
func TestDummy(t *testing.T) { | ||
t.Skip("Ensure that at least one real test exists") | ||
} |
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This directory abstracts a random generator specifically for reliable tests. There is nothing to test. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package uuidutil | ||
|
||
import "testing" | ||
|
||
// TODO: Add real tests and remove this file | ||
func TestDummy(t *testing.T) { | ||
t.Skip("Ensure that at least one real test exists") | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This directory contains the json test framework for adapters. Perhaps it could be moved up a level.