confluence-to-test-link

command module
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2021 License: MIT Imports: 5 Imported by: 0

README

Will read confluence content, Parse all the testcases and call create test case API to testlink.

Installation

  go install github.com/ninteen19/confluence-to-test-link@latest

Quick Start

  1. Add env variable:
    • TESTLINK_DEVKEY = dev key / api key *required
    • TESTLINK_LOGIN = username, the one we use for login *required
    • TESTLINK_URL = override default testlink url *optional
  2. Find confluence's page ID:
  3. open terminal
  4. type confluence-to-test-link
  5. If you found any error, please contact me

Run test

  go test ./...
Check coverage
  go clean -testcache && go test -coverpkg ./... -coverprofile cover.out ./... && go tool cover -html=cover.out -o cover.html

then open the cover.html in browser

Resources

  • example.json confluence content json example
  • request.xml xmlrpc requestbody generated for testlink

TODO

  • unit tests
  • update testlink-go-api, read testProjectId by testprojectname
  • connect to confluence API (unable to get the API key for now)
  • update confluence structure

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
models

Jump to

Keyboard shortcuts

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