Skip to content
This repository has been archived by the owner on Dec 18, 2019. It is now read-only.

Running Dynamic Tests using jasmine data provider on Sauce #54

Open
kandarp1691 opened this issue Sep 24, 2018 · 0 comments
Open

Running Dynamic Tests using jasmine data provider on Sauce #54

kandarp1691 opened this issue Sep 24, 2018 · 0 comments

Comments

@kandarp1691
Copy link

Hello,

I am trying to create tests on runtime using jasmine-data-provider. Below is a simple test which displays what is possible and helps avoid creating multiple tests.

const using = require('jasmine-data-provider');

const textValues = {
'test1' : { name : 'test1'},
'test2' : { name : 'test2'}
}

describe('Two tests in one file', function(){
     using(textValues, function(data){
        it('print each value', function(){
              console.log(data.name);
             }
        } 
}

When running it on sauce labs, it fails with invalid message. I am not sure if sauce labs support this kind of tests. Please help

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant