Coder Social home page Coder Social logo

ctp-4's Introduction

Certified Tester Praktikum 4

Usage

To use this code, follow these steps:

1. Compile the Java Classes:

Open a terminal and navigate to the root directory of your project. Use the javac command to compile all Java files in the src/main/java/ directory:

javac -d out src/main/java/*.java

2. Run the Main Class:

Use the java command to run your Application class and pass the necessary arguments.

2.1. Example with Single File Input:

When uploading a single file, the output path is directly utilized. The resulting file inherits the name of the output path, supplemented with either a .csv or .md extension.

java -cp out Application src/main/resources/aufgaben1.csv src/main/resources/Output/aufgaben1 csv both

2.2. Example with Directory Input:

You also have the option to upload multiple files at once by specifying a directory. The generated filenames are based on the input names, so please ensure that you provide a directory (Note: The directory path must end with "/").

java -cp out Application src/main/resources/exercises src/main/resources/Output/ csv both

Here’s a breakdown of the command-line arguments:

  • src/main/resources/aufgaben1.csv: Path to the input CSV or Markdown file. Feel free to specify a different directory if needed.
  • src/main/resources/Output/aufgaben1: Base path for the output files. You can specify any other directory as well.
  • csv or md: Output file format (CSV or Markdown).
  • method: A string indicating which coverage criteria to use:
    • both: Use both MMBUE (Minimal Determining Multiple Condition Cover / Minimal bestimmende Mehrfachbedingungsüberdeckung) and MCDC (Modified Condition / Decision Coverage).
    • mcdc: Use only MCDC.
    • mmbue: Use only MMBUE.
  1. Output Files: The output files will be exported to the specified directory. There you can see the results.

ctp-4's People

Contributors

s0h311 avatar

Watchers

 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.