Skip to content

Commit

Permalink
Clean up explanation in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
horenmar committed Jul 12, 2023
1 parent 1b049bd commit 683c857
Showing 1 changed file with 3 additions and 7 deletions.
Expand Up @@ -7,11 +7,10 @@
// SPDX-License-Identifier: BSL-1.0

/**\file
* TODO: FIXES Registers custom reporter that reports testCase* events
* Registers an event listener to increments counter of assertionStarting events.
*
* The resulting executable can then be used by an external Python script
* to verify that testCase{Starting,Ended} and testCasePartial{Starting,Ended}
* events are properly nested.
* Different assertion macros then check that the counter is at expected
* value when they are evaluated.
*/

#include <catch2/catch_test_macros.hpp>
Expand All @@ -23,9 +22,6 @@ namespace {

static size_t assertion_starting_events_seen = 0;

// TODO: custom matcher to check that "assertion_starting_events_seen" has
// the right number of checks

class AssertionStartingListener : public Catch::EventListenerBase {
public:
AssertionStartingListener( Catch::IConfig const* config ):
Expand Down

0 comments on commit 683c857

Please sign in to comment.