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

Test fixture header for integration tests of the SaveCommand (commit) class. More...

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

Go to the source code of this file.

Classes

class  svcs::test::cli::utils::SaveCommandTest
 Google Test fixture for running integration tests against the SaveCommand (commit). More...
class  svcs::test::cli::utils::SaveCommand
 Command for saving (committing) staged changes to 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 SaveCommand (commit) class.

Declares the SaveCommandTest fixture, which sets up a controlled environment for testing the 'svcs save' command. This includes initializing mock and core components (MockSubject, RepositoryManager) and providing helper functions for file manipulation and staging changes prior to a save operation.