Giter Site home page Giter Site logo

sophiaxu0424 / stf Goto Github PK

View Code? Open in Web Editor NEW

This project forked from adoptium/stf

0.0 0.0 0.0 813 KB

The System Test Framework for executing https://github.com/adoptium/aqa-systemtest

License: Apache License 2.0

Shell 0.13% Perl 17.45% Java 81.08% Makefile 1.23% Batchfile 0.11%

stf's Introduction

stf

This repository contains the System Test Framework (STF) used by test cases in the javasvt repository to execute multi process, multi step Java tests.

Quick start (Unix) Quick start (Windows) More documentation

Quick start (Unix)

This quick start is for people who want to clone and build the project. To set up a development environment for enhancing STF or creating new test cases, refer to this document.

Before running the build for the first time make sure GNU make, ant and wget are on your PATH.

wget is only required for the make configure step, which only needs to be done once.

Either copy, paste and execute this script which runs the command below, or run the commands yourself.

# 1. Create a directory for the git clone
mkdir -p $HOME/git

# 2. Clone the git repository
cd $HOME/git
git clone https://github.com/adoptium/STF.git stf

# 3. Set JAVA_HOME to a Java 8 or later Java

export JAVA_HOME=<java-home>

# 4.Install the prereqs
# This requires wget to be on the PATH
cd $HOME/git/stf/stf.build
make configure

# 5. Build
cd $HOME/git/stf/stf.build
make

# 6. Run the STF samples
cd $HOME/git/stf/stf.build
make test
echo See /tmp/stf to view the test results

Quick Start (Windows)

This quick start is for people who want to clone and build the project. To set up a development environment for enhancing STF or creating new test cases, refer to this document.

Before running the build for the first time make sure GNU make, ant and wget are on your PATH.

wget is only required for the make configure step, which only needs to be done once.

Either copy, paste and execute this script which runs the command below, or run the commands yourself.

REM 1. Create a directory for the git clones
mkdir c:\%USERPROFILE%\git

REM 2. Clone the test cases
cd c:\%USERPROFILE%\git
git clone https://github.com/adoptium/STF.git stf

REM 3. Set JAVA_HOME to a Java 8 or later Java
SET JAVA_HOME=<java-home>

REM 4. Get the test case prereqs
cd C:\%USERPROFILE%\git\stf\stf.build
make configure

REM 5. Build
cd C:\%USERPROFILE%\git\stf\stf.build
make

REM 6. Run the samples
cd C:\%USERPROFILE%\git\stf\stf.build
make test
echo See c:\stf_temp to view the test results

stf's People

Contributors

mesbah-alam avatar karianna avatar lumpfish avatar sxa555 avatar smlambert avatar battleblow avatar llxia avatar annaibm avatar gdams avatar helenmasters avatar sxa avatar chengjin01 avatar keithc-ca avatar say-droid427 avatar panxuefeng-loongson avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.