Skip to content
No description, website, or topics provided.
Groovy Java Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs/ja
license
macchinetta-batch-functionaltest-app
macchinetta-batch-functionaltest-util
macchinetta-batch-functionaltest-web
macchinetta-batch-functionaltest
.gitignore
CONTRIBUTING.adoc
ISSUE_TEMPLATE.md
PULL_REQUEST_TEMPLATE.md
README.adoc
pom.xml

README.adoc

Functional Test of Macchinetta Batch Framework

This project provides functional tests of Macchinetta Batch Framework (2.x).

How to contribute

Contributing (bug report, pull request, any comments etc.) is welcome !! Please see the contributing guideline for details.

Test case design

Test case scenarios are managed at docs directory.

Note
Supported language

Currently, support language is Japanese only. (Will translate to English as soon as possible)

Tested environments at the time of release

Tested environments are managed at wiki page.

How to perform functional test

Preconditions are as follow:

  • OpenJDK 8 installed. (JAVA_HOME defined as environment variable.)

  • Maven installed. (Can run mvn command.)

  • MongoDB installed. (Default install.)

  • PostgreSQL installed. (Default install.)

  • Tomcat installed. (Default install.)

[Step 1] Create database of PostgreSQL

Create two database of PostgreSQL into local machine in the following name.

  • admin

  • postgres

[Step 2] Setup Tomcat

Configure Tomcat user and port as follows.

  • User settings.

    • username="admin"

    • password=""

$CATALINA_BASE/conf/tomcat-users.xml
<tomcat-users>
  <role rolename="manager-gui"/>
  <role rolename="manager-script"/>
  <user username="admin" password="" roles="manager-gui,manager-script"/>
</tomcat-users>
  • Port settings.

    • port="8088"

$CATALINA_BASE/conf/server.xml
<Connector port="8088" protocol="HTTP/1.1"
           connectionTimeout="20000"
           redirectPort="8443" />

[Step 3] Clone a repository

Clone the Macchinetta/batch-functionaltest repository into local machine.

$ git clone https://github.com/Macchinetta/batch-functionaltest.git

[Step 4] Run functional tests

Run test using maven commands as follows.

$ cd {your repository directory}
$ mvn verify
You can’t perform that action at this time.