- Shell 100%
|
|
||
|---|---|---|
| epitest | ||
| macOS.sh | ||
| readme.md | ||
| setup.sh | ||
Epitest Setup and Usage Guide
Prerequisites
Before installing epitest, ensure that Docker is installed on your system. You can verify this by running:
docker --version
If Docker is not installed, follow the official Docker installation guide for your operating system.
Installation
To install epitest, follow these steps:
-
Clone the Repository (if not already cloned):
git clone <repository-url> cd <repository-directory> -
Run the Setup Script: Execute the setup script with root privileges:
MacOS
chmod +x macOS.sh && ./macOS.shNote: This will also launch setup.sh
Other
sudo ./setup.shWhat
setup.shDoes:- Ensures the script is run with root permissions.
- Verifies the presence of the
epitestscript in the current directory. - Copies
epitestto/usr/local/bin/for global access. - Grants execute permissions to
epitest.
-
Verify Installation: Check if
epitestis installed correctly:epitest -hYou should see the usage information displayed.
Usage
To execute a command within the epitest Docker environment, use:
epitest <command>
Examples:
-
Run an executable:
epitest ./a.out -
Run multiple commands (use quotes to group them):
epitest "make re && ./a.out" -
Enable graphical mode (e.g., for CSFML projects):
epitest -g "make re && ./my_hunter"
Uninstallation
To remove epitest, delete the script from /usr/local/bin/:
sudo rm /usr/local/bin/epitest
Troubleshooting
If you encounter any issues:
- Ensure Docker is running properly.
- Verify that
epitestis in/usr/local/bin/by running:which epitest - Check for permission issues and rerun
setup.shwithsudo.
For further assistance, consult the project repository or open an issue.