diff --git a/src/classes/command.hpp b/src/classes/command.hpp index 2b50cdb..9f472bc 100644 --- a/src/classes/command.hpp +++ b/src/classes/command.hpp @@ -88,6 +88,11 @@ namespace lpstd return values.size() > 0 ? values[0] : ""; } + std::list getCommands() + { + return this->commands; + } + void addCommand(std::string name, std::string description, void (*func)(void)) { commandInfo command; diff --git a/src/testing/testing.hpp b/src/testing/testing.hpp index 382a4ea..eba7207 100644 --- a/src/testing/testing.hpp +++ b/src/testing/testing.hpp @@ -167,6 +167,7 @@ namespace lpstd { std::cout << description << std::endl; testCase(); + std::cout << std::endl; } // Custom describe function to group related test cases @@ -174,6 +175,8 @@ namespace lpstd { std::cout << "Describing " << description << std::endl; testSuite(); + drawResults(); + std::cout << std::endl; } void testThrow(std::function testCase)