Skip to content
This repository was archived by the owner on Feb 20, 2026. It is now read-only.

Add Unit Testing for builder.go#534

Open
mwhit176 wants to merge 1 commit intoHavocFramework:devfrom
mwhit176:dev
Open

Add Unit Testing for builder.go#534
mwhit176 wants to merge 1 commit intoHavocFramework:devfrom
mwhit176:dev

Conversation

@mwhit176
Copy link
Copy Markdown

@mwhit176 mwhit176 commented Dec 1, 2024

Added some unit tests for the teamserver's builder.go file.

It uses the testify library to mock certain structures and functions, and otherwise follows standard Go testing practice. It currently has 92.6% statement coverage of the builder.go file.

The aim is for this to be the first instance of more widespread unit testing for the Havoc framework.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant