Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On unifying device APIs #7

Open
nfroidure opened this issue Oct 20, 2013 · 0 comments
Open

On unifying device APIs #7

nfroidure opened this issue Oct 20, 2013 · 0 comments

Comments

@nfroidure
Copy link
Member

Usually, when you test an application, you need to test its usability with every possible devices.

That's why i think we should set generic methods to allow doing mocha tests like this:

describe('Activing a menu link should work with ', function() {
    effroi.devices.forEach(function(device) {
        it(device.NAME + ' device', function() {
            device.cmd(button); // clic / touch / kbd enter
        });
    });
});

I do not have a fixed idea on how it should look like, but i assume the best is to launch the debate here.

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

No branches or pull requests

1 participant