Skip to content

ISSUE-708 # Rename the modules with prefix as -examples #710

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ PR Branch
* [ ] Relevant DOcumentation page added or updated with clear instructions and examples for the end user
* [ ] Not applicable. This was only a code refactor change, no functional or behaviourial changes were introduced

* [ ] Http test added to `http-testing` module(if applicable) ?
* [ ] Http test added to `http-testing-examples` module(if applicable) ?
* [ ] Not applicable. The changes did not affect HTTP automation flow

* [ ] Kafka test added to `kafka-testing` module(if applicable) ?
* [ ] Kafka test added to `kafka-testing-examples` module(if applicable) ?
* [ ] Not applicable. The changes did not affect Kafka automation flow
2 changes: 1 addition & 1 deletion http-testing/pom.xml → http-testing-examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</parent>

<groupId>org.jsmart</groupId>
<artifactId>http-testing</artifactId>
<artifactId>http-testing-examples</artifactId>

<packaging>jar</packaging>
<name>Zerocode Http Testing With Simple YAML and JSON DSL</name>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
package org.jsmart.zerocode.testhelp.tests.helloworldoneof;
import org.jsmart.zerocode.core.domain.JsonTestCase;
import org.jsmart.zerocode.core.domain.TargetEnv;
import org.jsmart.zerocode.core.runner.ZeroCodeUnitRunner;
import org.junit.Test;
import org.junit.runner.RunWith;
@TargetEnv("github_host.properties")
@RunWith(ZeroCodeUnitRunner.class)
public class HelloWorldOneOfTest {
@Test
@JsonTestCase("helloworld_one_of/hello_world_one_of_test.json")
public void testValueOneOf() throws Exception {
}
}
package org.jsmart.zerocode.testhelp.tests.helloworldoneof;

import org.jsmart.zerocode.core.domain.JsonTestCase;
import org.jsmart.zerocode.core.domain.TargetEnv;
import org.jsmart.zerocode.core.runner.ZeroCodeUnitRunner;
import org.junit.Test;
import org.junit.runner.RunWith;

@TargetEnv("github_host.properties")
@RunWith(ZeroCodeUnitRunner.class)
public class HelloWorldOneOfTest {

@Test
@JsonTestCase("helloworld_one_of/hello_world_one_of_test.json")
public void testValueOneOf() throws Exception {

}
}
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
{
"scenarioName": "Assert that value is one of the items in the array",
"steps": [
{
"name": "match_user_location",
"url": "/users/octocat",
"method": "GET",
"request": {
},
"assertions": {
"status": 200,
"body": {
"location" : "$ONE.OF:[San Francisco, New York, Seattle]"
}
}
},
{
"name": "match_user_gravatar_id_empty_string",
"url": "/users/octocat",
"method": "GET",
"request": {
},
"assertions": {
"status": 200,
"body": {
"gravatar_id" : "$ONE.OF:[-1,, 0]"
}
}
}
]
{
"scenarioName": "Assert that value is one of the items in the array",
"steps": [
{
"name": "match_user_location",
"url": "/users/octocat",
"method": "GET",
"request": {
},
"assertions": {
"status": 200,
"body": {
"location" : "$ONE.OF:[San Francisco, New York, Seattle]"
}
}
},
{
"name": "match_user_gravatar_id_empty_string",
"url": "/users/octocat",
"method": "GET",
"request": {
},
"assertions": {
"status": 200,
"body": {
"gravatar_id" : "$ONE.OF:[-1,, 0]"
}
}
}
]
}
File renamed without changes.
24 changes: 0 additions & 24 deletions http-testing/src/main/resources/META-INF/package.properties

This file was deleted.

File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion kafka-testing/pom.xml → kafka-testing-examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<version>1.3.46-SNAPSHOT</version>
</parent>

<artifactId>kafka-testing</artifactId>
<artifactId>kafka-testing-examples</artifactId>
<packaging>jar</packaging>
<name>Zerocode Kafka Testing With Simple YAML and JSON DSL</name>
<description>How to use zerocode in your project</description>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
24 changes: 0 additions & 24 deletions kafka-testing/src/main/resources/META-INF/package.properties

This file was deleted.

6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@

<modules>
<module>core</module>
<module>http-testing</module>
<module>kafka-testing</module>
<module>junit5-testing</module>
<module>http-testing-examples</module>
<module>kafka-testing-examples</module>
<module>junit5-testing-examples</module>
<module>zerocode-maven-archetype</module>
</modules>

Expand Down