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_pluginLangSmithPlugin
Class●Since v0.3

LangSmithPlugin

Plugin for rendering LangSmith results.

Copy
LangSmithPlugin(
    self,
)

Constructors

constructor
__init__

Attributes

attribute
test_suites
attribute
test_suite_urls: dict
attribute
process_status: dict
attribute
status_lock
attribute
console
attribute
live

Methods

method
pytest_collection_finish

Call after collection phase is completed and session.items is populated.

method
add_process_to_test_suite

Group a test case with its test suite.

method
update_process_status

Update test results.

method
pytest_runtest_logstart

Initialize live display when first test starts.

method
generate_tables

Generate a collection of tables—one per suite.

Returns a 'Group' object so it can be rendered simultaneously by Rich Live.

method
pytest_configure

Disable warning reporting and show no warnings in output.

method
pytest_sessionfinish

Stop Rich Live rendering at the end of the session.

View source on GitHub