S.A.M-Mutation-Core is a module within the S.A.M (Software Analysis and Mutation) system, designed to manage the mutation process and optimize it for software testing. Main module S.A.M-Mutation-Core stands as a pivotal component within the S.A.M (Software Analysis and Mutation) system, an innovative framework tailored to elevate software testing processes. This module is meticulously crafted to orchestrate mutation processes and augment their efficiency for rigorous software scrutiny.
The primary objectives of S.A.M-Mutation-Core encompass:
-
Streamlined Integration: Establishing seamless integration with popular development environments and build systems for effortless adoption and utilization.
-
Comprehensive Configuration Management: Offering an extensive suite of configuration files to fine-tune and manage mutation processes, ensuring flexibility and adaptability to diverse testing scenarios.
-
Enhanced Mutation Testing Capabilities: Empowering users with the ability to conduct mutation testing across multiple files while providing comprehensive reporting functionalities to facilitate informed decision-making.
-
Statistical Optimization with Bayesian Inference: Leveraging advanced statistical techniques, including Bayesian inference, to optimize mutation testing configurations and enhance testing efficiency.
-
Seamless Compatibility with PiTest: Ensuring compatibility with PiTest, a renowned mutation testing framework, to leverage its capabilities seamlessly and amplify the effectiveness of mutation testing processes.
- Integration with IntelliJ development environment and Maven builder.
- Configuration files for mutation process management and optimization.
- Support for mutation testing on multiple files with detailed reporting.
- Bayesian statistical inference-based optimization configuration.
- Compatibility with PiTest system.
- Clone the repository:
git clone https://github.com/michaelmnich/S.A.M-Mutation-Core.git
- Navigate to the cloned directory:
cd S.A.M-Mutation-Core
- Build the project using Maven:
mvn clean install
metadata.ini
: Configuration file for the mutation process.mainconfig.cfg
: Configuration file for the S.A.M and PiTest environment.MutationProbabilityConfig.ini
: Configuration file for optimization based on Bayesian statistical inference.
Ensure the necessary dependencies are installed, including IntelliJ and Maven. Then, follow the installation steps mentioned above.
test
: Performs an internal test (not important).connect
: Connects to a SAM server. Prompts for server address and port.start
: Starts the SAM system server on the local machine. Prompts for port.run mutation -broadcast
: Sends a start mutation request to all connected SAM servers.rm
: Executes a single instance of mutation testing using project configuration.tqed
: Executes mutation testing on multiple files with detailed reporting.run mutation -pc
: Executes mutation testing on a single project class by class.run mutation -bayes -pc
: Executes mutation testing on a single project with Bayes' consideration class by class.run mutation -bayes
: Executes mutation testing on a single project with Bayes' consideration.run mutation -i
: Executes mutation testing with hardcoded input.Send
: Sends a custom message to all connected nodes.help
: Displays available commands and their descriptions.
The latest release can be found on the GitHub Releases page.
Contributions are welcome! Please feel free to submit issues and pull requests.
This project is licensed under the MIT License - see the LICENSE file for details.