I'm unsure about how I can split the response string from an already created feature to obtain the response header "Location" value.  What I've tried  1)  Feature: Create Tariff    Background:   * def result = call read('../../get...
I know that usage of the with-statement is not recommended in Javascript and is forbidden in ECMAScript 5, but it allows one to create some nice DSLs in Javascript.   For example CoffeeKup-templating engine and the Zappa web DSL. Those uses some very...
I have this Rational class that has a method for each operation (add,mult etc)  function Rational(nominator, denominator){     this.nominator = nominator;     this.denominator = denominator || 1;     }  Rational.prototype = {     mult: function(that)...
Currently I'm trying to understand how BDD DSL works in Mocha and I'm stuck. I'd like this approach and want to apply this.  For example, the following test:  describe('foo', function(){     describe('bar', function(){...
Domain Specific Language in Clojure or Javascript  I'm considering writing a domain specific lanaguage for transforming and mapping CSV fields.  So for each line of the CSV file, the DSL would execute a set of rules, which would transform and map...
I'm exploring a variety of options for a JavaScript routing framework that I'm working on, and I'd like to provide a DSL written in JavaScript for defining the router.   I had the idea of using temporary prototype overrides on the String...
I really like mongodb's json dsl for querying the database. I was wondering if there is any stand alone library for node.js/browser that can convert that kind of json expressions into, maybe, js functions that you can apply on certain context obj...
I have an app I'm working on in Vue JS (though the issue isn't specific to Vue) where I would like to allow the user to filter a dataset using their own complex built queries.  For example, lets say the dataset is a colleciton of cars that lo...
I'm working on Karate dsl project. I have a scenario about incorrect login to github. After Given driver 'https://github.com/login' step, next step does not work because window is closing. Why window is closing ? Another question is drive...
I'm looking for available extenstions over filtering collections in JS. Ideally would be that js would understand some SQL-like syntax so that I could transfer part of ORM-made queries into js client.  Why do I need it:  Suppose, I have SPA(Singl...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.