valueof / hiro Goto Github PK
View Code? Open in Web Editor NEWFramework for testing third-party JavaScript applications
Home Page: http://hirojs.com/
Framework for testing third-party JavaScript applications
Home Page: http://hirojs.com/
It just fails with a red error bar - there's no indication of what actually happened.
Before the merge need to make sure that we can run new Hiro with PhantomJS.
I think it would be nice to have a few more assertions.
assertGreaterThan
assertGreaterThanOrEqualTo
assertLessThan
assertLessThanOrEqualTo
assertUndefined
assertNull
assertInstanceOf
assertObjectHasProperty
assertArrayContains
I'm not to sure about the names of the last two. What do you think?
Would you like me to open a PR?
Useful for newcomers to get into Hiro and for contributors to make sure UI is not broken.
EOM
In cases where Hiro fails to load certain resources the test suite will stop executing.
For example, we have several test cases which will load an html, javascript, or css file, and as soon as that fails the test suite bails (no events are fired/etc).
Whenever the module name is incorrect an error message should be shown to indicate why the test could not be run.
Right now the assert functions are using loose comparison operators within the assert methods, is there any particular reason not to use strict comparisons?
I can't seem to find any documentation on how to run Hiro using PhantomJS. I'm no expert on the subject but with a little help I could write up a small cookbook article.
EOM
EOM.
If you use pause/resume in a test, that test will ignore any prior expectations re: # of assertions.
EOM
New fancy pants Hiro website
Final check before merge: can we run Disqus tests with Hiro 2?
Debugging failed assertions is difficult because the current reporting mechanism doesn't list the affected object/function, source code line, etc.
QUnit does this: http://docs.jquery.com/QUnit#Using_QUnit
If you have a failed assertion, Hiro continues executing the test function until it reaches the end. It only stops if an exception is thrown.
Hi,
This looks like a nice testing framework, but it doesn't have a license file or any license embedded in the source code. Would you mind adding one? cough Permissive license cough
Thanks
Before merge, need to make sure that you can run new Hiro from inside the browser.
If you have more assertions that are expected, the message is kind of off.
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.