From fcd9fe70899c2e30ea467d80c576b950f5f62be6 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Wed, 23 Oct 2024 11:05:49 +0300 Subject: initial fuzztesting --- Taskfile.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'Taskfile.yml') diff --git a/Taskfile.yml b/Taskfile.yml index 206f0bc..2282f02 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -11,19 +11,21 @@ tasks: deps: ["dev"] cmds: - go run cmd/gos/main.go - env: - GOS_EDITOR: hx build: cmds: - go build -o gos cmd/gos/main.go dev: - deps: ["test", "vet", "lint"] + deps: ["test", "fuzz", "vet", "lint"] cmds: - go build -race -o gos cmd/gos/main.go test: cmds: - go clean -testcache - go test -v ./... + fuzz: + cmds: + - go clean -testcache + - go test ./internal/platforms/linkedin/ -fuzz=FuzzLinkedInURLExtract -fuzztime=10s vet: cmds: - go vet ./... -- cgit v1.2.3