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

Tests for the 'add' command (AddCommand) using Google Test. More...

#include "mocks/MockSubject.hxx"
#include "../../core/include/RepositoryManager.hxx"
#include "../../cli/include/AddCommand.hxx"
#include "utils/IntAddCommandTest.hxx"
#include <gtest/gtest.h>
#include <filesystem>
#include <memory>

Namespaces

namespace  svcs::test::cli
 Unit tests for command-line interface components.
namespace  svcs::test
 Comprehensive testing framework for SVCS version control system.

Functions

 svcs::test::cli::TEST_F (AddCommandTest, Failure_NoRepository)
 svcs::test::cli::TEST_F (AddCommandTest, Success_AddSingleFile)
 svcs::test::cli::TEST_F (AddCommandTest, Success_AddMultipleFiles)
 svcs::test::cli::TEST_F (AddCommandTest, Success_AddAllFilesWithDot)
 svcs::test::cli::TEST_F (AddCommandTest, Success_AddDirectory)
 svcs::test::cli::TEST_F (AddCommandTest, Debug_FileNotFoundButContinue)
 svcs::test::cli::TEST_F (AddCommandTest, Warning_FileNotFoundButContinue)
 svcs::test::cli::TEST_F (AddCommandTest, Success_NoValidFilesToAdd)
 svcs::test::cli::TEST_F (AddCommandTest, Success_AllFilesNotFoundButNoError)
 svcs::test::cli::TEST_F (AddCommandTest, Success_DryRunMode)
 svcs::test::cli::TEST_F (AddCommandTest, Success_HelpFlag)
 svcs::test::cli::TEST_F (AddCommandTest, Failure_NoFilesSpecified)
 svcs::test::cli::TEST_F (AddCommandTest, Success_InteractiveModeBasic)
 svcs::test::cli::TEST_F (AddCommandTest, Warning_UnknownOption)
 svcs::test::cli::TEST_F (AddCommandTest, Success_ExcludePattern)
 svcs::test::cli::TEST_F (AddCommandTest, Success_IgnoreSvcsDirectory)
 svcs::test::cli::TEST_F (AddCommandTest, Success_UpdateAndForceFlags)

Detailed Description

Tests for the 'add' command (AddCommand) using Google Test.