//
pkg.gl
Category
go.k6.io/k6
js
modulestest
package
0.57.0
Repository:
https://github.com/grafana/k6.git
Documentation:
pkg.go.dev
Versions
1
Dependencies
16
Dependents
6
Files
146 SLOC
#
Functions
CompileFile
CompileFile compiles a JS file as a [*sobek.Program].
NewRuntime
NewRuntime will create a new test runtime and will cancel the context on test/benchmark end.
#
Structs
Runtime
Runtime is a helper struct that contains what is needed to run a (simple) module test.
VU
VU is a modules.VU implementation meant to be used within tests.