Skip to content

matthewmcnew/archtest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Archtest

Build Status

Unit test your golang architecture

Complete examples in archtest_test.go

Checking for dependencies

archtest.Package(t, "github.com/myorg/myproject/....").
    ShouldNotDependOn("github.com/some/package")

Checking for direct dependencies

archtest.Package(t, "github.com/myorg/myproject/....").
    ShouldNotDependDirectlyOn("github.com/some/package")

Including Tests

archtest.Package(t, "github.com/myorg/myproject/....").
    IncludeTests().
    ShouldNotDependDirectlyOn("github.com/some/package")

About

Unit test your go architecture

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages