nebula-plugins / nebula-plugins/nebula-project-plugin

How to pass JVM args (-D) to Integration Tests

Open
#38 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Groovy
Stars
98
Forks
19
PR merge metrics
No merged PRs in 30d

Description

I am trying to migrate from another plugin to integTest and trying to root cause some failures in integration tests which did not happen before.

Is there an example on how to pass JVM args (-D parameters) to Integration Tests?

Also do System.setProperty and System.getProperty need some configuration to make it work for integration tests or they work out of the box ?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the integTest configuration and the integration-test setup in the project. Check how JVM -D arguments are passed to those tests and whether System.setProperty and System.getProperty work without extra configuration; document a working example and the resulting behavior.

Written by the indexing model from the issue text.

Assessment

Domain
build-system, testing
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.