Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
abstract-test-package
Advanced tools
abstract_test_package is a Python package that facilitates testing with abstract scenarios. Utilizing PyTest, it offers extra utilities to streamline the creation and execution of abstract tests.
This is a Python package that facilitates testing with abstract scenarios. Utilizing PyTest, it offers extra utilities to streamline the creation and execution of abstract tests.
You can locate this package in the abstract_essentials
project at github.io/abstract_endeavors/abstract_essentials/abstract_test_package/
.
You can install the abstract_test_package
module via pip:
pip install abstract_test_package
Or directly from the source:
git clone https://github.io/abstract_endeavors/abstract_essentials/abstract_test_package/
cd abstract_test_package
python setup.py install
Below is a usage example of the abstract_test_package
:
from abstract_test_package import create_test, execute_test
test = create_test(name="Test 1", scenario=[...])
execute_test(test)
This example creates an abstract test and then executes it.
The abstract_test_package
module provides the following classes and functions:
create_test(name: str = 'Test', scenario: list = [...])
Generates an abstract test scenario with the provided name and details.
execute_test(test: any)
Executes the given abstract test scenario.
validate_test(test: any) -> bool
Verifies if the given object is a valid test scenario.
calculate_test_results(test: any) -> dict
Calculates the results of a given abstract test scenario.
compare_test_results(test1: any, test2: any) -> bool
Compares two test scenarios and returns True if their results are equivalent, False otherwise.
... and many more!
Please refer to the source code for the complete list of classes and functions provided by the module, as well as their detailed documentation.
Contributions are welcome! Please fork this repository and open a pull request to add snippets, make grammar tweaks, etc.
If you have any questions, feel free to reach out to us at partners@abstractendeavors.com.
This project is licensed under the MIT License. See the LICENSE file for details.
This README file was last updated on May 29, 2023.
FAQs
abstract_test_package is a Python package that facilitates testing with abstract scenarios. Utilizing PyTest, it offers extra utilities to streamline the creation and execution of abstract tests.
We found that abstract-test-package demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.