-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Updated dependencies and moved to MarketSquare * Test URLs configurable * Redirect tests as noncritical because of httpbin issues * BuiltIn import * Run Linux tests against local httpbin and squid
- Loading branch information
Showing
13 changed files
with
191 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>com.github.hi-fi</groupId> | ||
<groupId>com.github.MarketSquare</groupId> | ||
<artifactId>robotframework-httprequestlibrary</artifactId> | ||
<version>0.0.17-SNAPSHOT</version> | ||
<packaging>jar</packaging> | ||
|
||
<name>robotframework-httprequestlibrary</name> | ||
<description>A Robot Framework library for HTTP request testing.</description> | ||
<url>https://github.com/hi-fi/robotframework-httprequestlibrary</url> | ||
<url>https://github.com/MarketSquare/robotframework-httprequestlibrary</url> | ||
|
||
<distributionManagement> | ||
<snapshotRepository> | ||
|
@@ -31,7 +31,7 @@ | |
|
||
<issueManagement> | ||
<system>GitHub Issues</system> | ||
<url>https://github.com/hi-fi/robotframework-httprequestlibrary/issues</url> | ||
<url>https://github.com/MarketSquare/robotframework-httprequestlibrary/issues</url> | ||
</issueManagement> | ||
|
||
<licenses> | ||
|
@@ -42,9 +42,9 @@ | |
</license> | ||
</licenses> | ||
<scm> | ||
<url>https://github.com/hi-fi/robotframework-httprequestlibrary</url> | ||
<connection>scm:git:git://github.com/hi-fi/robotframework-httprequestlibrary.git</connection> | ||
<developerConnection>scm:git:[email protected]:hi-fi/robotframework-httprequestlibrary.git</developerConnection> | ||
<url>https://github.com/MarketSquare/robotframework-httprequestlibrary</url> | ||
<connection>scm:git:git://github.com/MarketSquare/robotframework-httprequestlibrary.git</connection> | ||
<developerConnection>scm:git:[email protected]:MarketSquare/robotframework-httprequestlibrary.git</developerConnection> | ||
</scm> | ||
|
||
<developers> | ||
|
@@ -62,9 +62,15 @@ | |
<keywords.class>HttpRequestLibrary</keywords.class> | ||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> | ||
<powermock.version>1.6.5</powermock.version> | ||
<httpclient.version>0.0.6</httpclient.version> | ||
<robotframework.maven.plugin.version>1.6.0</robotframework.maven.plugin.version> | ||
<robotframework.version>3.1.2</robotframework.version> | ||
<httpclient.version>0.0.7</httpclient.version> | ||
<robotframework.maven.plugin.version>1.7.2</robotframework.maven.plugin.version> | ||
<robotframework.version>3.2.2</robotframework.version> | ||
<environment>default</environment> | ||
<defaultTestServer>https://httpbin.org</defaultTestServer> | ||
<defaultTestServerPort>443</defaultTestServerPort> | ||
<defaultProxyPort>1234</defaultProxyPort> | ||
<robotLogLevel>DEBUG</robotLogLevel> | ||
<robotDefaultDisplayLogLevel>INFO</robotDefaultDisplayLogLevel> | ||
</properties> | ||
|
||
<dependencies> | ||
|
@@ -87,22 +93,22 @@ | |
<dependency> | ||
<groupId>commons-io</groupId> | ||
<artifactId>commons-io</artifactId> | ||
<version>2.6</version> | ||
<version>2.8.0</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.apache.commons</groupId> | ||
<artifactId>commons-lang3</artifactId> | ||
<version>3.9</version> | ||
<version>3.11</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.apache.logging.log4j</groupId> | ||
<artifactId>log4j-api</artifactId> | ||
<version>2.13.1</version> | ||
<version>2.13.3</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.apache.logging.log4j</groupId> | ||
<artifactId>log4j-core</artifactId> | ||
<version>2.13.1</version> | ||
<version>2.13.3</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.google.code.gson</groupId> | ||
|
@@ -117,7 +123,7 @@ | |
<dependency> | ||
<groupId>org.python</groupId> | ||
<artifactId>jython</artifactId> | ||
<version>2.7.2b3</version> | ||
<version>2.7.2</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.robotframework</groupId> | ||
|
@@ -127,14 +133,94 @@ | |
</dependencies> | ||
|
||
<profiles> | ||
<profile> | ||
<id>localRun</id> | ||
<properties> | ||
<environment>local</environment> | ||
<localTestServer>http://localhost</localTestServer> | ||
</properties> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.codehaus.mojo</groupId> | ||
<artifactId>build-helper-maven-plugin</artifactId> | ||
<version>3.2.0</version> | ||
<executions> | ||
<execution> | ||
<id>reserve-network-port</id> | ||
<goals> | ||
<goal>reserve-network-port</goal> | ||
</goals> | ||
<phase>process-resources</phase> | ||
<configuration> | ||
<portNames> | ||
<portName>localTestServerPort</portName> | ||
<portName>localProxyPort</portName> | ||
</portNames> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>io.fabric8</groupId> | ||
<artifactId>docker-maven-plugin</artifactId> | ||
<version>0.34.0</version> | ||
<executions> | ||
<execution> | ||
<id>prepare-it-test-server</id> | ||
<goals> | ||
<goal>start</goal> | ||
</goals> | ||
<configuration> | ||
<images> | ||
<image> | ||
<name>kennethreitz/httpbin:latest</name> | ||
<alias>httpbin</alias> | ||
<run> | ||
<ports> | ||
<port>localTestServerPort:80</port> | ||
</ports> | ||
<wait> | ||
<log>(?s).*Booting worker with pid.*</log> | ||
<time>10000</time> | ||
</wait> | ||
</run> | ||
</image> | ||
<image> | ||
<name>sameersbn/squid:3.5.27-2</name> | ||
<alias>proxy</alias> | ||
<run> | ||
<ports> | ||
<port>localProxyPort:3128</port> | ||
</ports> | ||
<wait> | ||
<log>(?s).*Accepting HTTP Socket connections at.*</log> | ||
<time>10000</time> | ||
</wait> | ||
</run> | ||
</image> | ||
</images> | ||
</configuration> | ||
</execution> | ||
<execution> | ||
<id>remove-it-test-server</id> | ||
<goals> | ||
<goal>stop</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</profile> | ||
<profile> | ||
<id>deploy</id> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-source-plugin</artifactId> | ||
<version>2.2.1</version> | ||
<version>3.2.1</version> | ||
<executions> | ||
<execution> | ||
<id>attach-sources</id> | ||
|
@@ -147,7 +233,7 @@ | |
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-javadoc-plugin</artifactId> | ||
<version>2.9.1</version> | ||
<version>3.1.1</version> | ||
<executions> | ||
<execution> | ||
<id>attach-javadocs</id> | ||
|
@@ -161,7 +247,7 @@ | |
<!-- Build the fat jar with all dependencies --> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-assembly-plugin</artifactId> | ||
<version>2.6</version> | ||
<version>3.2.0</version> | ||
<configuration> | ||
<archive> | ||
<manifest> | ||
|
@@ -257,11 +343,11 @@ | |
</goals> | ||
<configuration> | ||
<!-- Prevent `gpg` from using pinentry programs --> | ||
<gpgArguments> | ||
<arg>--pinentry-mode</arg> | ||
<arg>loopback</arg> | ||
</gpgArguments> | ||
</configuration> | ||
<gpgArguments> | ||
<arg>--pinentry-mode</arg> | ||
<arg>loopback</arg> | ||
</gpgArguments> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
|
@@ -295,7 +381,7 @@ | |
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>3.8.0</version> | ||
<version>3.8.1</version> | ||
<configuration> | ||
<source>${maven.compiler.source}</source> | ||
<target>${maven.compiler.target}</target> | ||
|
@@ -304,7 +390,7 @@ | |
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-dependency-plugin</artifactId> | ||
<version>2.8</version> | ||
<version>3.1.2</version> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
|
@@ -321,13 +407,21 @@ | |
<goal>acceptance-test</goal> | ||
</goals> | ||
<configuration> | ||
<logLevel>DEBUG:INFO</logLevel> | ||
<logLevel>${robotLogLevel}:${robotDefaultDisplayLogLevel}</logLevel> | ||
<extraPathDirectories> | ||
<extraPathDirectory>target/robotframework-httprequestlibrary-${project.version}.jar</extraPathDirectory> | ||
</extraPathDirectories> | ||
<nonCriticalTags> | ||
<nonCriticalTag>Non-Critical</nonCriticalTag> | ||
<nonCriticalTag>Non-working_on_${environment}</nonCriticalTag> | ||
</nonCriticalTags> | ||
<variables> | ||
<variable>environment:${environment}</variable> | ||
<variable>localTestServer:${localTestServer}:${localTestServerPort}</variable> | ||
<variable>localProxyPort:${localProxyPort}</variable> | ||
<variable>defaultTestServer:${defaultTestServer}:${defaultTestServerPort}</variable> | ||
<variable>defaultProxyPort:${defaultProxyPort}</variable> | ||
</variables> | ||
</configuration> | ||
</execution> | ||
<execution> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.