
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
@apexdevtools/test-runner
Advanced tools
Salesforce unit test runner, built over @salesforce/apex-node and jsforce. The runner provides a number of reliability features aimed at ensuring the greatest chance of obtaining a good test run.
The main abstraction is a Testall command. You can use this to configure and execute a test run. The runner is assisted by three plugins:
The Testall command also handles re-running tests that failed due to locking after the main run(s) have completed.
You can start a Testall run by providing a set of test classes. If you don't provide any the run will execute against all the "local" (non-packaged) tests in the org.
This project uses the pnpm
package manager.
pnpm install
pnpm build
To run unit tests:
pnpm test
To test bundling using webpack:
pnpm test:pack
node test-bundle/bundle.js
This should execute without error.
See ./script
for some basic scripts to aid org testing. Execute them with ts-node
using the run script:
# Run Testall with default settings
pnpm run:script -- ./src/scripts/Testall.ts <username> <namespace | unmanaged>
If you encounter difficulties with the installed git hooks, they can be bypassed with --no-verify
/-n
flag on commit. To disable them completely (after install
) use npx husky uninstall
or the direct command git config --unset core.hooksPath
.
All the source code included uses a 3-clause BSD license, see LICENSE for details.
3.2.0 - 2024-12-10
QueryHelper.setGlobalRetryOptions()
static method.
FAQs
Apex parallel test runner with reliability goodness
The npm package @apexdevtools/test-runner receives a total of 0 weekly downloads. As such, @apexdevtools/test-runner popularity was classified as not popular.
We found that @apexdevtools/test-runner demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.