GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
Add an option named something like "dependsOn". This options is used when running a specific test. If a test requires that the user is logged in you may put the login procedure in a separate test and refer to that test from other tests. eg:
var loginTest = new dokimon.Test(
var statusBarExists = new dokimon.Test(
dependOn : 'loginTest'
If you then run dokimon -rs my-test-script.djs statusBarExists it will first execute the login test so that the login session exists when running the test statusBarExists
dokimon -rs my-test-script.djs statusBarExists
New feature, issue #1