testing#

LangSmith pytest testing module.

Classes

Functions

testing._internal.log_feedback([feedback, ...])

Log run feedback from within a pytest test run.

testing._internal.log_inputs(inputs, /)

Log run inputs from within a pytest test run.

testing._internal.log_outputs(outputs, /)

Log run outputs from within a pytest test run.

testing._internal.log_reference_outputs(...)

Log example reference outputs from within a pytest test run.

testing._internal.test()

Trace a pytest test case in LangSmith.

testing._internal.trace_feedback(*[, name])

Trace the computation of a pytest run feedback as its own run.

testing._internal.unit(*args, **kwargs)

Trace a pytest test case in LangSmith.