Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/promptfoo/promptfoo
/ generate.test.ts
File
generate.test.ts
test/redteam/commands/generate.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
fs from
'node:fs'
;
2
3
import
{ Command } from
'commander'
;
4
import
* as yaml from
'js-yaml'
;
Callers
nothing calls this directly
Calls
10
createMockProvider
Function · 0.90
doGenerateRedteam
Function · 0.90
redteamGenerateCommand
Function · 0.90
resetCommonMocks
Function · 0.85
it
Function · 0.85
mockReadFileSync
Function · 0.85
resolve
Method · 0.80
reject
Method · 0.80
fail
Method · 0.80
error
Method · 0.80
Tested by
no test coverage detected