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

Allow asserts to be provided via command-line options #128

Closed
macbre opened this issue Nov 11, 2013 · 1 comment
Closed

Allow asserts to be provided via command-line options #128

macbre opened this issue Nov 11, 2013 · 1 comment
Assignees
Milestone

Comments

@macbre
Copy link
Owner

macbre commented Nov 11, 2013

--assert-requests=18 --assert-evalCalls=0 --assert-eventsBound=150

Improves #108

@ghost ghost assigned macbre Nov 11, 2013
@macbre
Copy link
Owner Author

macbre commented Nov 23, 2013

$ phantomas --url http://example.com --verbose --assert-bodySize=1500 --assert-requests=1

phantomas v0.9.0 metrics for <http://example.com/>:

✓ requests: 1
* gzipRequests: 0
* postRequests: 0
* httpsRequests: 0
* redirects: 0
* notFound: 0
* timeToFirstByte: 229
* timeToLastByte: 233
✓ bodySize: 1270

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