Skip to content

Conversation

@Mateusz512
Copy link
Contributor

Description

Create functional tests.

Motivation and Context

Manual steps described in tutorial can be automated in a form of functional tests.

Upgrade notes (if appropriate)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

I hereby agree to the terms of the Knot.x Contributor License Agreement.

mateusz.hinc added 2 commits October 31, 2019 13:38
@tomaszmichalak tomaszmichalak changed the base branch from feature/api-gateway-caching to master July 23, 2020 06:01
…caching-func-tests

# Conflicts:
#	api-gateway/caching/build.gradle.kts
#	api-gateway/caching/docker.gradle.kts
#	api-gateway/caching/functional/src/test/java/com/project/test/functional/CacheITCase.java
#	api-gateway/caching/knotx/conf/logback.xml

COPY ./out/knotx /usr/local/knotx

RUN sed -i 's/# JVM_DEBUG=/JVM_DEBUG=/g' /usr/local/knotx/bin/knotx
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need this for functional tests?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope, removed

@@ -0,0 +1,125 @@
/*
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need to copy this file?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've overriden some configs that allow dockerized Knot.x to reach localhost's wiremock server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants