Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,3 +219,11 @@ If you replace `JSXTransformer.js` in production environment, you have to restar
because the jsx compiler context is cached.

Name of the `JSXTransformer.js` file *is case-sensitive*.

# Testing

A global installation of Phantomjs is required to run the tests:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: PhantomJS, and probably worth making that a link.


npm install -g phantomjs
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should mention alternative installation methods, namely brew install phantomjs (I hear Ruby people get upset about JS package managers)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, many don't happen to use npm.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, I wasn't even aware there was a Formula on Homebrew for PhantomJS :)
(and I'm a rubyist ^^)


Run `rake` to launch the test suites.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@olance perhaps an example test, would be nice to have.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What example test? The point is to run the tests of this gem...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, that was my feeling too ^^