SVCS - English Documentation
Loading...
Searching...
No Matches
IntHistoryCommandTest.hxx File Reference

Test fixture header for integration tests of the HistoryCommand class. More...

#include <gtest/gtest.h>
#include <memory>
#include <vector>
#include <string>
#include <filesystem>
#include "../../../cli/include/HistoryCommand.hxx"
#include "../mocks/MockSubject.hxx"

Go to the source code of this file.

Classes

class  svcs::test::cli::utils::HistoryCommandTest
 Google Test fixture for running integration tests against the HistoryCommand. More...
class  svcs::test::cli::utils::HistoryCommand
 Command for viewing the history of saves (commits) in the repository. More...

Namespaces

namespace  svcs::test::cli::utils
 Utility classes and test fixtures for CLI command testing.
namespace  svcs::test
 Comprehensive testing framework for SVCS version control system.
namespace  svcs::test::cli
 Unit tests for command-line interface components.

Detailed Description

Test fixture header for integration tests of the HistoryCommand class.

Declares the HistoryCommandTest fixture, which sets up a controlled environment for testing the 'svcs history' command. This includes initializing mock and core components (MockSubject, RepositoryManager) and providing helper functions for creating files, staging changes, and creating mock commits.