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

Security policy

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages