SVCS - English Documentation
Loading...
Searching...
No Matches
IntAddCommandTest.cxx File Reference

Implementation of the AddCommandTest integration test fixture. More...

#include "IntAddCommandTest.hxx"
#include "../mocks/MockSubject.hxx"
#include "../../../core/include/RepositoryManager.hxx"
#include <fstream>
#include <memory>

Namespaces

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

Detailed Description

Implementation of the AddCommandTest integration test fixture.

This file defines the SetUp and TearDown routines, along with helper methods essential for testing the AddCommand. The setup includes:

  1. Initializing mock components (MockSubject).
  2. Initializing core components (RepositoryManager, AddCommand).
  3. Managing a temporary, isolated SVCS repository directory.