package
0.10.0
Repository: https://github.com/kcl-lang/kpm.git
Documentation: pkg.go.dev

# Functions

/ checkTestSuite Check that the file corresponding to each suffix can appear only once.
CleanUpTestWorkspace will do 'rm -rf' to the "($pwd)/test_kpm_workspace".
Copy will copy file from 'srcPath' to 'dstPath'.
CopyDir will copy dir from 'srcDir' to 'dstDir'.
CreateTestWorkspace create an empty dir "($pwd)/test_kpm_workspace" for test kpm cli.
Exec execute common command.
ExecKpm executes kusion command.
ExecKpmWithInDirWithEnv executes kpm command in work directory with env.
ExecKpmWithStdin executes kpm command in work directory with stdin.
ExecKpmWithWorkDir executes kpm command in work directory.
Exec execute common command.
GetKpmCLIBin return kusion binary path in e2e test.
GetWrokDir return work directory.
GetWorkspace return the path of test workspace.
IsIgnore will reture whether the expected result in 'expectedStr' should be ignored.
LoadAllTestSuites load all test suites from 'getWorkDir()/test_suites'.
LoadFirstFileWithExt read the first file with extention 'ext' in 'dir' and return the content.
LoadTestSuite load test suite from 'getWorkDir()/test_suites/name'.
RemoveLineOrder will remove the line order in 'str1'.
ReplaceAllKeyByValue will replace all 'key's by 'value' in 'originStr'.
SplitCommand will spilt command string into []string, but the string in quotes will not be cut.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author

# Structs

No description provided by the author