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
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.
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