BashSpark
Loading...
Searching...
No Matches
test_shell.h
Go to the documentation of this file.
1
28#pragma once
29
30#include "BashSpark/BashSpark.h"
31
32namespace bs::debug {
40 class test_shell {
41 public:
47 test_shell();
48
55 void test() const;
56
57 private:
63 void test_basic() const;
64
70 void test_echo_basic() const;
71
77 void test_echo_envvar() const;
78
84 void test_seq() const;
85
91 void test_setenv() const;
92
98 void test_setvar() const;
99
105 void test_oper() const;
106
112 void test_structure()const;
113
119 void test_math()const;
120
126 void test_test()const;
127
133 void test_script()const;
134
135 private:
136 std::unique_ptr<shell> m_pShell;
137 };
138}
Header file for the BashSpark project.
A class to encapsulate shell testing functionalities.
Definition test_shell.h:40
test_shell()
Constructs a test_shell object.
Definition test_shell.cpp:55
void test() const
Executes a series of tests.
Definition test_shell.cpp:59