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: CONTRIBUTING.md
+40Lines changed: 40 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,6 +53,46 @@ Java 17 and Maven 3.8.6 (only if you want to build from the command-line), or ne
53
53
54
54
Simply `mvn clean verify`, this will run the tests (`-DskipTests` to skip them) and the resulting p2 repository and specific IDE applications will be available for further manual testing in `repository/target`.
55
55
56
+
To full build and test use the following commands:
57
+
```
58
+
$ cd <WildWebDeveloper project root directory>
59
+
$ mvn clean install
60
+
```
61
+
62
+
You can use `-DskipTests` argument to skip the JUnit tests execution:
63
+
64
+
```
65
+
$ mvn clean install -DskipTests
66
+
```
67
+
68
+
To run all the JUnit tests use the following commands:
69
+
70
+
```
71
+
$ mvn clean verify
72
+
```
73
+
74
+
Or you can run an individual JUnit test by using `-Dtest=...` argument, for example:
75
+
76
+
```
77
+
$ mvn clean verify -Dtest=TestHTML
78
+
```
79
+
80
+
In case you need to work on tests only or repeatedly execute several tests, it's easier and faster to build everything then run only the tests:
81
+
82
+
```
83
+
$ cd <WildWebDeveloper project root directory>
84
+
85
+
# Build WWD:
86
+
$ mvn clean install -DskipTests
87
+
88
+
# In order to run `org.eclipse.wildwebdeveloper.tests.TestHTML` use the following command:
89
+
$ cd org.eclipse.wildwebdeveloper.tests/
90
+
$ mvn clean verify -Dtest=TestHTML
91
+
92
+
#`Repeat running TestHTML or run any other tests, for example:
93
+
$ mvn clean verify -Dtest=TestJSON
94
+
```
95
+
56
96
### ⬆️ Version bump
57
97
58
98
Wild Web Developer tries to use OSGi Semantic Version (to properly expose its API contracts and breakage) and Reproducible Version Qualifiers (to minimize the avoid producing multiple equivalent artifacts for identical source). This requires the developer to manually bump version from time to time. Somes rules are that:
0 commit comments