junit

package
v0.0.0-...-703489d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

README

kntest junit

kntest junit command is used for creating a simple junit test result, which is used for creating a single junit result file with a single test.

Usage

This tool can be invoked from command line with following parameters:

  • --suite: name of suite
  • --name: name of test
  • --err-msg: (optional) error message, by default it's empty, means test passed
  • --dest: (optional) file path for result to be written to, default junit_result.xml

Example

kntest junit --suite foo --name TestBar --err-msg "Failed Randomly" --dest
"/tmp/junit_important_suite.xml"

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCommands

func AddCommands(topLevel *cobra.Command)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL