LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • Client
  • AsyncClient
  • Run Helpers
  • Run Trees
  • Evaluation
  • Schemas
  • Utilities
  • Wrappers
  • Anonymizer
  • Testing
  • Expect API
  • Middleware
  • Pytest Plugin
  • Deployment SDK
  • RemoteGraph
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

OverviewClientAsyncClientRun HelpersRun TreesEvaluationSchemasUtilitiesWrappersAnonymizerTestingExpect APIMiddlewarePytest PluginDeployment SDKRemoteGraph
Language
Theme
PythonlangsmithPytest Plugin

Pytest Plugin

Classes

Class

LangSmithPlugin

Plugin for rendering LangSmith results.

Functions

Function

pytest_addoption

Set a boolean flag for LangSmith output.

Function

pytest_cmdline_preparse

Call immediately after command line options are parsed (pytest v7).

Function

pytest_load_initial_conftests

Handle args in pytest v8+.

Function

pytest_runtest_call

Apply LangSmith tracking to tests marked with @pytest.mark.langsmith.

Function

pytest_report_teststatus

Remove the short test-status character outputs ("./F").

Function

pytest_configure

Register the 'langsmith' marker.

Constants

Attribute

logger