Description
This project aims to provide an Automated Framework to test Ansys Electronics Desktop (AEDT). Users can set up a suite of tests to validate stability/regression of results between different versions of Ansys Electronics Desktop.
Table of Contents
Features
The current framework provides the following features:
- Compare results of XY plots, mesh statistics and simulation time.
- Web page output format for visual comparison
- JSON file output format to support automated workflows and use of test results downstream.
- Parallel distribution of test projects
- Cross-platform: support for Windows and Linux
- Compatibility with local machine and most known cluster schedulers: LSF, SGE, Slurm, PBS, Windows HPC
- Control of required resources for each project and optimized distribution of tasks
- Automatic generation of reference results (AEDT versions 2019R1+)
Installation
To install the package use:
pip install aedttest
Usage
Electronics Desktop testing framework automatically identifies environment where it was launched. In this chapter we will show basic examples of starting tests on local machine or on clusters with scheduler. In all scenarios we use Command Line Interface (CLI).
Configuration file
Framework requires configuration file as input. Please see example of a configuration file config_with_comments.toml to understand how to create a file.
You can use both config_with_comments.toml or config_without_comments.toml as template.
CLI Commands
To expose the available commands use the following command line
Open CLI commands Help
aedt_test_runner -h
Examples
Local machine
To start test on local machine use following command line
Generate only reference results
aedt_test_runner --config-folder=examples/configs --aedt-version=193 --only-reference
Run comparison between versions
aedt_test_runner --config-folder=examples/configs --aedt-version=231 --reference-folder=reference_folder
Slurm
Generate only reference results
sbatch \
--job-name aedttest \
--partition ottc01 \
--export "ALL,ANSYSEM_ROOT193=/apps/software/ANSYS_EM_2019R1/AnsysEM19.3/Linux64,ANS_NODEPCHECK=1" \
--nodes 2-2 --ntasks 56 \
--wrap "aedt_test_runner --config-folder=examples/configs --aedt-version=193 --only-reference"
Run comparison between versions
sbatch \
--job-name aedttest \
--partition ottc01 \
--export "ALL,ANSYSEM_ROOT222=/ott/apps/software/ANSYS_EM_2022R2_211129/v222/Linux64,ANS_NODEPCHECK=1" \
--nodes 2-2 --ntasks 56 \
--wrap "aedt_test_runner --config-folder=examples/configs --aedt-version=222 --reference-folder=~/reference_folder"
Limitations
Currently, project does not support or partially supports following features:
- Automatic results creation is possible only for versions 2019R1+
- LS-DSO is not supported
Contributors
If you would like to contribute to this project, please see CONTRIBUTE.
Metadata
Release files for aedttest 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| aedttest-0.0.2.tar.gz | 206.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aedttest-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 401.9 kB
Release files / aedttest-0.0.2.tar.gz
| Download URL | aedttest-0.0.2.tar.gz |
|---|---|
| Size | 206.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d2ced71addd77fc53a30dbb1dffc242ed82b5707b195a05f9bdb75db5b0c0643
|
|
BLAKE2b-256 checksum How to use checksums |
712cd2aa2653b55ecc26f52e320415df4642150a82d9c98133d829f8b63c7c0d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / aedttest-0.0.2-py3-none-any.whl
| Download URL | aedttest-0.0.2-py3-none-any.whl |
|---|---|
| Size | 195.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
819842bcec342cf6f4c561323094e49fa1fcb3ffc88dd3310268e2021f3e6cc9
|
|
BLAKE2b-256 checksum How to use checksums |
419c58b195f85f8cda4a0920b68b60a464756011f6d4b28cab2947f047a32fe0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Security for aedttest 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.