Giter Club home page Giter Club logo

idt-2017's Introduction

Exploratory Black Box Test Util

Project for IDT Winter 2017 Contest by Swifty X

Software Requirements

Compile, Build, and Execute

  1. Open Command Prompt. That is PowerShell/cmd on Windows, or Terminal on macOS.
  2. Download and navigate to the source code folder, using the following commands.
git clone https://github.com/swiftyx/IDT-2017.git
cd IDT-2017/com.idtus.contest.winter2017.framework

Build Using Gradle

gradle tasks
gradle build -x test

If you are using Windows, execute the compiled jar through the Batch file:

idt.bat -jarToTestPath C:\\idt_contest\\jars\\TesterTypeCheck.jar -jacocoOutputPath C:\\idt_contest\\jacoco -jacocoAgentJarPath C:\\idt_contest\\jacoco\\lib\\jacocoagent.jar -bbTests 100 -timeGoal 1 -toolChain

Otherwise, execute the compiled jar through the bash file:

sh idt.sh -jarToTestPath /idt_contest/jars/TesterTypeCheck.jar -jacocoOutputPath /idt_contest/jacoco -jacocoAgentJarPath /idt_contest/jacoco/lib/jacocoagent.jar -bbTests 100 -timeGoal 1 -toolChain

Build Using Maven

mvn clean compile assembly:single

Execute the jar using java:

java -jar target/com.idtus.contest.winter2017.framework-0.0.1-SNAPSHOT-jar-with-dependencies.jar -jarToTestPath C:\\idt_contest\\jars\\TesterTypeCheck.jar -jacocoOutputPath C:\\idt_contest\\jacoco -jacocoAgentJarPath C:\\idt_contest\\jacoco\\lib\\jacocoagent.jar -bbTests 100 -timeGoal 1

Launch GUI

Platform Command
Windows idt-ui.bat
Others sh idt-ui.sh

Convenient Features

Log Files

After you run a black box exploratory test, the results are automatically saved as idt-yyyy-MM-ddTHH-mm-ss.out in the source code folder.

Define More Test Cases

You can define more test cases in a JSON file that will be executed by this test framework. The JSON file should be put on $CLASSPATH and have the same name as the jar under test. Please see the JSON files under src/main/resources/json/ source directory for more information.

idt-2017's People

Contributors

apollozhu avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

idtus

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.