-
Notifications
You must be signed in to change notification settings - Fork 9
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
HelloDecafTest Cannot find coffee file #8
Comments
@mrt123 where you able to resolve this? |
@noamtcohen issue is still there for me |
This is how I proceeded:
so now I'm getting a different error that the class I'm try to test was not found: |
sorry i am late to the party ... i've been in NY on holidays ... i'll check this as soon as possible |
If I change the example and rename from greeter.coffee:
to greetet.js:
I'm green on the imports but I get these errors:
|
@mrt123 I put together a demo, please download the zip and see the readme. let me know if this works for you. |
@noamtcohen thanks , this worked |
@mrt123, regarding you question about protractor. protractor is build on top WebDriverJs so you could just use WebDriverJs from within your node test suite. FitNesee runs test files, protractor runs test files. What you could do is invoke protractor from your node test file (via fork or spawn) and then parse the output of protractor and send it back to FitNesse. I'm working on a project to support this kind of functionality (but not specific to protractor): SlimJS. Please post your questions on the SlimJS repo, Cheers. |
Hi there ... i finally got some time to test this ... this was working for me on a mac .... !define TEST_SYSTEM {slim} |import| |script|Greeter| |
@msuarz thanks you checking this for us. |
no worries the hate on coffeescript is strong out there :) ... i've learned to ignore it ... a couple of things ... . decaf should work the same for js than for coffee ... 'cos coffee is js |
I don't hate coffee I just don't understand its need. (as for TS) |
Hi,
I have followed: #5
and changed my
COMMAND_PATTERN=decaf %p
(running on OSX)Everything else is the same as in https://github.com/limadelic/decaf/wiki/Hello-Decaf
When running http://localhost:8080/HelloDecafTest?test i get:
Could not complete testing: fitnesse.slim.SlimError: Error SLiM server died before a connection could be established. env: coffee: No such file or directory
The text was updated successfully, but these errors were encountered: