Permalink
Branch: master
Commits on Feb 8, 2019
  1. fix SEGFAULTs

    JoeyGrajciar committed Feb 8, 2019
    issue was that mutable context had no config thus trying to get stream
    caused SEGFAULT
    
    Closes #1533, #1534
Commits on Feb 4, 2019
  1. Added Makimo to list of commercial users

    JoeyGrajciar committed Feb 4, 2019
    Closes #1528
Commits on Jan 22, 2019
  1. Docs: note to INFO

    JoeyGrajciar committed Jan 22, 2019
Commits on Jan 19, 2019
  1. Console Colour: fix compilation

    JoeyGrajciar authored and horenmar committed Jan 19, 2019
Commits on Jan 10, 2019
  1. small cleanup of code

    JoeyGrajciar authored and horenmar committed Jan 6, 2019
Commits on Dec 10, 2018
  1. Docs: added docs for TEMPLATE_PRODUCT_TEST_CASE

    JoeyGrajciar committed Nov 25, 2018
  2. Template tests: added TEMPLATE_PRODUCT_TEST_CASE

    JoeyGrajciar committed Dec 6, 2018
    support for generating test cases based on multiple template template
    types combined with template arguments for each of the template template
    types specified
    
    e.g.
    ```
    TEMPLATE_PRODUCT_TEST_CASE("template product","[template]",
    			   (std::tuple, std::pair, std::map),
    			   ((int,float),(char,double),(int,char)))
    ```
    will effectively create 9 test cases with types:
    std::tuple<int,float>
    std::tuple<char,double>
    std::tuple<int,char>
    std::pair<int,float>
    std::pair<char, double>
    std::pair<int,char>
    std::map<int,float>
    std::map<char,double>
    std::map<int,char>
    
    Tested type is accessible in test case body as TestType
    Unique name is created by appending ` - <index>` to test name
    since preprocessor has some limitations in recursions
    
    Closes #1454
Commits on Nov 16, 2018
  1. Add support for templated tests

    JoeyGrajciar authored and horenmar committed Nov 8, 2018
    This adds support for templated tests and test methods via
    `TEMPLATE_TEST_CASE` and `TEMPLATE_TEST_CASE_METHOD` macros. These
    work mostly just like their regular counterparts*, but take an
    unlimited** number of types as their last arguments.
    
    * Unlike the plain `TEST_CASE*` macros, the `TEMPLATE*` variants
    require a tag string.
    
    ** In practice there is limit of about 300 types.
Commits on Nov 10, 2018
  1. ConsoleReporter: minor formatting fix

    JoeyGrajciar authored and horenmar committed Nov 4, 2018
    PASSED will now appear on the same line as filename and line number,
    just like the case with FAILED message formatting
Commits on Oct 18, 2018
  1. Catch::LeakDetector: added cleanup call to destructor

    JoeyGrajciar authored and horenmar committed Oct 17, 2018
    simple code with provided main function which just returns 0
    leaks memory due to fact that singletons are not cleaned up
    
    running valgrind on such simple application reports that 752 bytes
    are still available in 11 blocks
    
    this commit adds destructor to Catch::LeakDetector which calls
    Catch::cleanUp()
Commits on Oct 13, 2018
  1. Session::applyCommandLine overload on wchar_t (#1401)

    JoeyGrajciar authored and horenmar committed Oct 13, 2018
    * Session::applyCommandLine overload on wchar_t
    
    This allows users on Windows to use Catch::Session::applyCommandLine
    with wchar_t * arguments of application.
    
    With this change Session::run became templated so both char and wchar_t
    version have the same implementation.
  2. XmlReporter: add information about rng-seed

    JoeyGrajciar authored and horenmar committed Oct 9, 2018
    Xml result of reported will now contain value of rng-seed in case it
    is not zero.
    The value will be stored in element Randomness and it's attribute seed.
    
    Relates to #1402