You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+91-46Lines changed: 91 additions & 46 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
JPWise is a powerful Java framework for generating pairwise test combinations, with support for complex parameter relationships and compatibility rules. See [All-pairs testing](https://en.wikipedia.org/wiki/All-pairs_testing) for more information about this testing approach.
// Your actual test automation logic using browserValue and osValue would go here...
70
74
}
71
75
}
72
76
```
@@ -83,9 +87,53 @@ public class JPWiseQuickDemoTest {
83
87
84
88
## Installation
85
89
90
+
### Using GitHub Packages (Recommended)
91
+
92
+
JPWise is available through GitHub Packages. To use it, you need to configure Maven to use the GitHub Packages repository for `io.github.mike-d-davydov`.
93
+
94
+
1.**Authenticate to GitHub Packages**: Ensure your Maven `settings.xml` (usually in `~/.m2/settings.xml`) is configured with your GitHub username and a Personal Access Token (PAT) with `read:packages` scope.
95
+
96
+
```xml
97
+
<settings>
98
+
<servers>
99
+
<server>
100
+
<id>github</id>
101
+
<username>YOUR_GITHUB_USERNAME</username>
102
+
<password>YOUR_GITHUB_PAT</password>
103
+
</server>
104
+
</servers>
105
+
</settings>
106
+
```
107
+
108
+
2. **Add the repository to your `pom.xml`**:
109
+
If your project doesn't already resolve from GitHub Packages for this owner, you might need to add the repository. However, often just the dependency is enough if the parent POM or `settings.xml` is configured globally.
*(Note: For snapshot versions, ensure the snapshot repository URL is correctly configured if different or ensure your Maven settings allow snapshot resolution from this repository.)*
122
+
123
+
124
+
3. **Add the dependency to your `pom.xml`**:
125
+
126
+
```xml
127
+
<dependency>
128
+
<groupId>io.github.mike-d-davydov</groupId>
129
+
<artifactId>jpwise</artifactId>
130
+
<version>1.0-SNAPSHOT</version> <!-- Or the latest released version -->
131
+
</dependency>
132
+
```
133
+
86
134
### Using JitPack
87
135
88
-
Add the JitPack repository to your `pom.xml`:
136
+
Alternatively, you can use JitPack. Add the JitPack repository to your `pom.xml`:
89
137
90
138
```xml
91
139
<repositories>
@@ -102,7 +150,7 @@ Add the dependency:
102
150
<dependency>
103
151
<groupId>com.github.mike-d-davydov</groupId>
104
152
<artifactId>jpwise</artifactId>
105
-
<version>v1.0.0</version>
153
+
<version>1.0-SNAPSHOT</version> <!-- Or a specific tag like v1.0.0 -->
106
154
</dependency>
107
155
```
108
156
@@ -118,9 +166,9 @@ Then add the dependency to your project:
118
166
119
167
```xml
120
168
<dependency>
121
-
<groupId>com.github.mike-d-davydov</groupId>
169
+
<groupId>io.github.mike-d-davydov</groupId>
122
170
<artifactId>jpwise</artifactId>
123
-
<version>1.0.0</version>
171
+
<version>1.0-SNAPSHOT</version>
124
172
</dependency>
125
173
```
126
174
@@ -131,26 +179,23 @@ The most concise way to use JPWise is through the builder API:
For a complete example with parameter definitions, compatibility rules, and detailed test implementation, please refer to the test classes within the [src/test/java/io/github/mikeddavydov/jpwise/algo/](./src/test/java/io/github/mikeddavydov/jpwise/algo/) directory, such as [CombinatorialAlgorithmTest.java](./src/test/java/io/github/mikeddavydov/jpwise/algo/CombinatorialAlgorithmTest.java) or [PairwiseAlgorithmTest.java](./src/test/java/io/github/mikeddavydov/jpwise/algo/PairwiseAlgorithmTest.java) which demonstrate various usages.
269
+
For a complete example with parameter definitions, compatibility rules, and detailed test implementation, see `JpWiseDataProviderDemoTest.java` in the test sources.
222
270
223
271
## Architecture
224
272
@@ -263,7 +311,4 @@ JPWise uses specific terminology to describe its concepts:
0 commit comments