The Wayback Machine - https://web.archive.org/web/20211130071730/https://github.com/topics/bdd
Skip to content
#

bdd

Here are 1,337 public repositories matching this topic...

laoshaw
laoshaw commented Oct 30, 2021

Describe the bug
when I turn on CATCH_CONFIG_DISABLE, all CAPTURE(i,j) , i.e. more than one arg will err.

Expected behavior
No such error

Reproduction steps
Build below code with -DCATCH_CONFIG_DISABLE

#include "catch.hpp"

TEST_CASE("generators") {
    auto i = GENERATE(as<std::string>(), "a", "b", "c");
    SECTION("one") {
        auto j = GENERATE(range(8, 11
IlfirinPL
IlfirinPL commented Oct 8, 2021

In some cases its look nice to print msg on center of screen with some padding

default values for new arguments
align=left
padding=' '

example use after changes
Log To Console ${msg} align=center padding=*

current workaround but it`s not easy to get actual screen width
Log To Console ${msg.center(78, '*')}

links
https://www.programiz.com/python-programming/method

Improve this page

Add a description, image, and links to the bdd topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the bdd topic, visit your repo's landing page and select "manage topics."

Learn more