Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Libraries

    teja 0.0.5

    Download button

    No screenshots available
    Downloads: 176  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Alfredo Deza | More programs
    MIT/X Consortium Lic... / FREE
    January 5th, 2011, 22:06 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    teja description

    Meta Test Runner to test Pecan Web Applications

    teja is a Python wrapper for testrunners like py.test but oriented towards better managing Pecan configurations.

    If you need to switch from test configurations you can do that on the fly and at the same time, pass command line options to the test runner you want.

    You can even store a default test configuration to load always, avoiding typing the same configuration file each time you run your tests.

    Basic Usage

    Before anything you need to tell teja what is your config path to your Pecan configurations:

    teja path /path/to/pecan/configs

    If you do not set this, teja will complain about it.

    Running Tests

    py.test is the currently supported testrunner so you do not need anything else if it is installed. Run teja right away to run your tests:

    $ teja -q
    collected 38 items
    ......................................
    38 passed in 1.30 seconds


    The above is actually done by py.test. Since you didn't pass any keywords for teja configurations it assumed you are passing in py.test options.

    Default Test Configuration

    To set a default test configuration:

    teja set-default my_config

    Confirm teja configuration values

    It is always important to be able to confirm the values for the tool:

    $ teja values

    TestRunner Configuration :

    runner = pytest
    config_path = /opt/project/foo/configs
    default_config = my_test_config


    Help

    You can access the help menu by running teja help. Watch out though, if you call teja --help you are actually calling the testrunner's help menu:

    $ teja help

    Teja: a Meta TestRunner that sets environments for Pecan
    and runs your tests with an existing TestRunner.

    Run tests:

     teja [TestRunner options]

    Load a specific Pecan config:

     teja [pecan config] [TestRunner options]

    Options:

     runner Sets the value for TestRunner (e.g. py.test)
     path Sets the path to your Pecan Configs
     set-default Saves your prefered testing config file name
     create-config Creates a .teja file in a provided path
     values Prints the current Teja configurations



    Product's homepage

    Requirements:

    · Python

      


    TAGS:

    test runner | Pecan testing | web applications | Pecan | test | runner

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM