Coder Social home page Coder Social logo

testlink-misc's Introduction

This is a collection of tweaks, tools, and shortcuts I've found that have made my interactions with TestLink 1.9.3 much better.

Scripts - standalone tools

scripts/run-testplan-simple.pl

Simple demonstration of using a perl client to interact with the TestLink XMLRPC API. More complex than the very simple demo client included in the distribution, it includes

  • A demonstration of several more API methods than the standard perl example script
  • An attempt at a reusable error checking function for api responses
  • A method for storing external test information in test cases
  • Example of posting results back to TestLink via tl.reportTCResult

scripts/get-testplan-status.pl

Very, very simple script to get a report of changed testcase statuses. Because we are still so early in implementing automated testing, it's not especially interesting to be notified on failed or blocked test runs. However, it is very interesting to learn about testcases whose status changed in the last test run, which is what this script does.

NOTE that this script requires a patch to xmlrpc.class.php. See patches/getExecutionResults.patch below.

Patches - modifying existing tools and UI elements

All patches are against TestLink 1.9.3. Patches can be applied by changing directories to the top level of the TestLink install and running patch with -p1. For example:

cd /path/to/testlink-1.9.3
patch --dry-run -p1 -i /path/to/PatchFile.patch
patch -p1 -i /path/to/PatchFile.patch

patches/getExecutionResults.patch

This is a simple extension to the TestLink API, adding a function called getExecutionResults(). This function is used by the get-testplan-status.pl script. See http://www.jetmore.org/john/blog/2012/03/missing-testlink-api-function-getexecutionresults/ for more details.

patches/ui-tweaks.patch

This is a collection of UI tweaks I found to be vital in using TestLink. This is a single patch that incorporates several tweaks I discovered over a few months. Because each of the changes involves the same file, and often the same lines of the same file, I am not taking the time to separate out the individual patches. The blog posts referenced below contain more specific diffs for each change, along with explanation of why the change was needed. Changes included in this patch:

testlink-misc's People

Contributors

jetmore avatar

Watchers

 avatar  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.