
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
com.diva-e.parallel-test-runner:parallel-test-runner-parent
JUnit Runner implementation to run tests n times in parallel with m repetitions.
You can download the project and compile with Maven:
~/parallel-test-runner $ mvn install
You can include the Parallel Test Runner into your pom.xml:
<dependency>
<groupId>com.diva-e.parallel-test-runner</groupId>
<artifactId>parallel-test-runner</artifactId>
<version>1.0-SNAPSHOT</version>
<scope>test</scope>
</dependency>
Currently you have to download the code and install the Parallel Test Runner into your local repository. We are trying to push the artifact into Maven Central soon.
Add the Parallel Test Runner to your JUnit Test:
@RunWith(ParallelTestRunner.class)
@ContextConfiguration("classpath:test-context.xml")
public class TestWithParallelTestRunner {
...
}
Create a spring context with configured property placeholder e.g. test-context.xml
:
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.springframework.org/schema/beans"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd
">
<context:property-placeholder
location="classpath:test.properties" />
</beans>
Configure the threads and repetitions in the properties file e.g. test.properties
:
test.threads = 3
test.repetitions = 5
Run the test.
See Spring documentation for more information about configuring spring and tests.
FAQs
Parent Project of Parallel Test Runner and its Demos
We found that com.diva-e.parallel-test-runner:parallel-test-runner-parent demonstrated a not healthy version release cadence and project activity because the last version was released 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.