Table of content
¶
Overview
Features
Changelog
Installation and configuration
Writing tests
The lemoncheesecake ecosystem
Contact
License
Installation
Getting started
Writing tests
Test as a function
Test as a method, suite as a class
Organizing suites within directories
Metadata
Disabling a test or a suite
Conditional tests and suites
Dependency between tests
Setup and teardown methods
Suites discovery
Matchers
The matchers
The matching operations
Creating custom matchers
Logging
Logs
Steps
Attachments
Fixtures
Fixture name(s)
Fixture scopes
Fixture teardown
Per-thread fixtures
Builtin fixtures
Parametrized tests
Passing parameters as dicts
Passing parameters in a CSV-like mode
Customizing test’s name and description using a function
Customizing test’s name and description using strings
Example #1: loading parameters from a CSV file
Example #2: loading parameters from a JSON file
Generating tests
BDD using behave
Setup
Example
Reporting configuration
Test parallelism
Running tests in parallel
Creating objects on a per-thread basis
Threading within tests
The
lcc
command line tool
lcc
commands
lcc
filtering arguments
Project customization
Adding custom CLI arguments to lcc run
Running code before and/or after the test session
Adding extra information in the report
Setting a custom report tile
Customize suites and fixtures loading
Metadata Policy
Report
Example 1: generating a CSV file from a report
Example 2: generating a summary of the report results
API reference
API compatibility / stability
Tests and suites
Fixtures
Logging
Threading
Matching
Project
Report
Exceptions
Deprecations
Deprecated in 1.7.0
Deprecated in 1.5.0
Deprecated in 1.4.5
Deprecated in 1.1.0
Migrating to 1.x
API
Reporting
CLI
Configuring reporting backends
ReportPortal
Slack
Related Topics
Documentation overview
Next:
lemoncheesecake: Test Storytelling
Navigation
Overview
Installation
Getting started
Writing tests
Matchers
Logging
Fixtures
Parametrized tests
Generating tests
BDD using behave
Test parallelism
The
lcc
command line tool
Project customization
Report
API reference
Deprecations
Migrating to 1.x
Configuring reporting backends
Links
On GitHub
On PyPI
On Google Groups
Quick search