Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 238521
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T20:30:44+00:00 2026-05-11T20:30:44+00:00

I am looking for a test framework to introduce automated tests for a language

  • 0

I am looking for a test framework to introduce automated tests for a language without much test support. As far as I can understand, I need a framework that’s capable of running the VDF tests using some form of protocol. I would much rather spend my time writing tests than writing VDF code to interface with the test framework, so a lightweight protocol is much preferred.

Slim with Fitnesse seems to be an nice candidate, but I’m interested in all recommendations.

Being able to use the same test framework across programming languages would be an added bonus.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T20:30:44+00:00Added an answer on May 11, 2026 at 8:30 pm

    This assumes you are working at the API level. If I read it wrong, and you are working at the GUI level, you’re more apt to consider something like selenium or watir.

    Have you considered writing your own simple test framework that outputs TAP results (the test anything protocol) – then parsing that with grind or TAP2HTML?

    Seriously, TAP output looks like this:

    1..7
    ok 1 - hello world with null value returns 'hello world' string
    ok 2 - hello world with bob returns 'hello, bob'
    ok 3 - hello world with 123 return 'hello, 123'
    ok 4 - hello world with 5K string return hello plus string
    ok 5 - special characters
    ok 6 - internationalization, fr
    ok 7 - internationalization, ja
    Looks like you failed 0 tests of 7.
    

    (If it died after step 5, the 1..7 would tell you something’s wrong)

    The output is straight ASCII. You’ll basically have two globals, numTestsTotal and numTestExecuted, and write functions like this:

    sub ok (boolean bExpected, string comment) {
      if (bExpected) {
        print "ok " . numTestsExecuted . " "  . comment . "\n";    
      }else {
        print "not ok" . numTeststotal . " " . comment . "\n";
      }
      numTestsExecuted++;
    }
    
    
    sub eq(int iExpected, int iResult, string comment) {
      if (iExpected==iResult) {
         print "ok " . numTestsExecuted . " " . comment . "\n";
      } else {
         print "not ok" . numTestsExecuted . " " . comment . \n";
      }
      numTestsExecuted++;
    }
    

    You write the regular code in a library, then your test app include the library and the test module.

    You can overload eq for every type of value, and write is to compare arrays, etc.

    See documentation on TAP:
    http://testanything.org/wiki/index.php/Main_Page

    And Test::More

    Yes, you could argue that eq() should “just” call ok(). Or you could insert expected and actual results in the output. Up to you.

    Anyway, there are lots of TAP parsers and interpreters for more imperative languages.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 157k
  • Answers 157k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer You might be able to tap into the Response during… May 12, 2026 at 11:03 am
  • Editorial Team
    Editorial Team added an answer Plugin schmugin. Get rid of your onclick and try this:… May 12, 2026 at 11:03 am
  • Editorial Team
    Editorial Team added an answer It's just the square of each element. from numpy import… May 12, 2026 at 11:03 am

Related Questions

I am looking for a test framework to cover our black box integration tests.
OK, I know there have already been questions about getting started with TDD ..
Am looking for a regression test framework where I can add tests to.. Tests
I am looking for example code that provides a unit test to serialize and

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.