diffr-plugin-test-bodies 0.1.1

The test-bodies plugin: collapse test bodies and test modules.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
name = "test-bodies"
title = "Test bodies"
description = "Collapse test bodies and test modules on both sides, so a diff reads as the code under test first."

[enabled]
title = "Collapse test bodies"
description = "Collapse the bodies of test functions and test modules, header visible."

[options.min_lines]
type = "integer"
minimum = 0
title = "Shortest test body to collapse (lines)"
description = "Test bodies shorter than this stay open: a one-line assertion is cheaper to read than a fold row."
default = 3