From 3449f99bd3cafcca08c619bc9aeacf198a873a27 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sun, 25 Jan 2015 14:52:37 -0500 Subject: More plugin doc tweaks --- doc/plugins.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'doc') diff --git a/doc/plugins.rst b/doc/plugins.rst index d8f4ef5..1fc5c10 100644 --- a/doc/plugins.rst +++ b/doc/plugins.rst @@ -28,6 +28,16 @@ example, let's say you want to use one called fred_plugin. plugins = fred_plugin +#. If the plugin needs its own configuration, you can add those settings in + the .coveragerc file in a section named for the plugin:: + + [fred_plugin] + option1 = True + option2 = abc.foo + + Check the documentation for the plugin to see if it takes any options, and + what they are. + #. Run your tests as you usually would. NOTE: You will see a warning when coverage starts:: -- cgit v1.2.1