8000 GitHub - SloCompTech/sct_tester: Visual Studio Code extension for testing Java program during 1st year of study on FRI
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

SloCompTech/sct_tester

Repository files navigation

SCT tester

SCT tester was created in my 1st grade at Univerity of Ljubljana Faculty of Computer and Information Science to help me test java programs.

Installing

Requirements:

  • Java JDK
  • mono framework (on Mac and linux)

Install:

  1. Download .vsix file from here.
  2. Go to Visual Studio Code and navigate to debug tab in sidebar.
  3. On right upper corner of extension tab press ....
  4. Choose Install from VSIX ... option and select downloaded file.
  5. Enjoy using this plugin (see usage).

Features

This plugin enables you to easily test java programs using tj.exe program and it also creates results folder for you and clean after you.

Usage:

  • Ctrl + Shift + p
  • type >tj
  • press enter
  • select terminal where you want to run command

Requirements

  • tj.exe program for testing, can be in following places:
    • anywhere - Program can be anywhere, but then it must be imported in settings (tj_path)
    • in folder beside .java file - Program doesn't need to be imported

File and directory naming

Structure of file/directory names:

  • Program: <name>.java
  • Test directory: must start with <name>_test
  • Results directory: <name>_results (will be automaticly created)

Extension Settings

This extension contributes the following settings:

  • sct_tester.tj_path: path to tj.exe (global program, it is overriden by local tj.exe if exists)
  • sct_tester.tj_args: additional args to run tj.exe with
  • sct_tester.clearoldresults: clear old results if present
  • sct_tester.autoopenresults: automaticly opens results html file in web browser when tests are finished (only windows)

Or you can override global settings with specific settings for directory with .tconfig file:

{
    "tj_path": "",
    "tj_args": "",
    "clearoldresults": true,
    "autoopenresults": false
}

Known Issues

1.0.0

  • Not working when results directory doesn't exist

Release Notes

See CHANGELOG.md

About

Visual Studio Code extension for testing Java program during 1st year of study on FRI

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published
0