awatson1978 / clinical-nightwatch

Ultra-easy acceptance testing for your Meteor app with Selenium and Nightwatch.
21 stars 3 forks source link

Missing folders reported, not matching the quickstart guide #13

Closed ryanswrt closed 9 years ago

ryanswrt commented 9 years ago

Nightwatch complains about missing commands/components and commands/methods directories on first run; did I do something wrong or should the guide be updated?

awatson1978 commented 9 years ago

Sounds like you didn't configure the filesystem correctly. Try using the following starrynight command, which should copy the correct directories and files into the correct locations:

starrynight sample acceptance

I'm still working out the API for starrynight. Right now acceptance is basically just a synonym for nightwatch.

ryanswrt commented 9 years ago

Thanks for replying so quick! Funny that I didn't see starrynight, I tried to find as many testing frameworks and even checked your github for other repos, must have stumbled over it.

The current readme of nightwatch doesn't specify creating the components and methods subdirectories under commands though, but yeah, not much point in updating it seeing as the package is being deprecated

awatson1978 commented 9 years ago

StarryNight is only a couple of weeks old. I only just cracked the code on how to spawn/exec libraries in node, and how to launch and run nightwatch and selenium, etc. etc. Been researching it for almost a year though, trying to figure out what to do, which made the how a lot easier. It's really rocking-and-rolling, though. The happy culmination of a year's worth of work!