Thursday, November 8, 2012

Domain specific language for testing tools


In software development and domain engineering, a domain-specific language (DSL) is a programming language or specification language dedicated to a particular problem domain, a particular problem representation technique, and/or a particular solution technique.
That was a quote from the Wikipedia. What it means for Ostests is that we are working to have our own DSL, so that the Web interface won't be the only way to interact with the tests, questions and results living on the platform.

Imagine a SQL language and interpreter, but adapted to our idioms and that's what we have in our labs.

Before the public launch, take a peek on the next piece of code:

CREATE_TEST "Zend Certifieed Engineer"
  LANGUAGE "EN"
  TIME_AVAILABLE 30 MINUTES;

ADD_QUESTION "Question definition...?" TO "Zend Certifieed Engineer"
  TYPE MULTIPLE_CHOICE
  ANSWERS ( TRUE, "Foo" ), ( FALSE, "Bar" );

RUN_TEST "Zend Certifieed Engineer";

If you want to know more about this, subscribe to this blog or follow our Twitter account.

2 comments:

  1. ukrainian translation Great) liked everything very much) keep it up and dont stop)

    ReplyDelete
  2. great idea and innovations. keep it up

    ReplyDelete