andrewdavey / witness Goto Github PK
View Code? Open in Web Editor NEWLicense: BSD 2-Clause "Simplified" License
License: BSD 2-Clause "Simplified" License
Witness Read this: https://github.com/andrewdavey/witness/wiki/Getting-Started build.cmd Builds the Witness redistributable file. Outputs to "build\output" See witness.build in build directory for the MSBuild script.
Very handily witness stashes the settings selected on the setup screen in a cookie, the cookie is a session cookie though and is lost between browser sessions, would it be possible to make this a persistant cookie with a reasonable expiry ?
Is the reload button supposed to reload the spec files ( ie pick up changes made to the tests without going back to the 'setup' screen ) ? If so .. it doesn't seem to reload / pick up changes to the tests ...
Clicking Run All by mistake can be annoying, especially if, for example, the web server under test is not running yet.
Add a stop button to the UI.
This may require surgery to the underlying action runner to add cancellation support.
Verify if this is broken or not.
{
when: -> @result = $(".foo").attr("href")
}
Rather than reloading the entire runner, just reload the selected specification file or directory.
Will need a UI overlay to display download and parse log and errors.
Add inclusive and exclusive boundary support.
should.beBetween 100, "exclusive", 200, "inclusive"
should.beBetween 100, 200, "inclusive"
?
Other than hacking the global default timeout for AsyncAction, there should be a way to set the timeout of any async action instance.
Perhaps a modifier function:
when: loadPage("/").withTimeout(5000)
dsl.extendShould({
beVisible: {
getActual: function (propertyNames) {
return jQuery(propertyNames[0], this.document);
},
test: function (actual) {
return actual.is(":visible");
},
description: function (selector) {
return selector + " should be visible";
},
error: function (selector, actual) {
return selector + " is not visible";
}
}
});
If in a "then" assertion you test different conditions on the same selector, e.g.:
"#myDiv span": should.haveText "This text"
"#myDiv span": should.match 1
only the second assertion is picked up by witness.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.